(record_line_starts): Remove set-but-not-used, file-scope variable.
authorJim Meyering <jim@meyering.net>
Fri, 19 May 1995 15:59:40 +0000 (15:59 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 19 May 1995 15:59:40 +0000 (15:59 +0000)
src/csplit.c

index cf1257d..8a6c65d 100644 (file)
@@ -160,9 +160,6 @@ static unsigned last_line_number = 0;
 /* Number of the line currently being examined. */
 static unsigned current_line = 0;
 
-/* Number of the last line in the input file. */
-static unsigned last_line_in_file = 0;
-
 /* If TRUE, we have read EOF. */
 static boolean have_read_eof = FALSE;
 
@@ -429,7 +426,6 @@ record_line_starts (b)
        {
          keep_new_line (b, line_start, bytes_left);
          lines++;
-         last_line_in_file = last_line_number + lines;
        }
       else
        save_to_hold_area (line_start, bytes_left);