From 99aa56a75caa96147d9eda3555e659f78b673855 Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 31 Aug 2020 19:00:17 +0200 Subject: Removed an unnecessary variable declaration --- main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 9a2e8cc..2d08762 100644 --- a/main.c +++ b/main.c @@ -6896,12 +6896,10 @@ DEFUN(redoPos, REDO, "Cancel the last undo") DEFUN(cursorTop, CURSOR_TOP, "Move cursor to the top of the screen") { - int offsety; if (Currentbuf->firstLine == NULL) return; - Currentbuf->currentLine = lineSkip(Currentbuf, - Currentbuf->topLine, 0, - FALSE); + Currentbuf->currentLine = lineSkip(Currentbuf, Currentbuf->topLine, + 0, FALSE); arrangeLine(Currentbuf); displayBuffer(Currentbuf, B_NORMAL); } -- cgit v1.2.3