summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-19 15:59:40 +0000
committerJim Meyering <jim@meyering.net>1995-05-19 15:59:40 +0000
commitc253f9ba5159d11aaa8789106bad1911352a6e6a (patch)
tree0cdbc5a77a887cbdff89ea17cf05586099908f12 /src/csplit.c
parent1fffbc7472e84ec806f67a33dc1170d03ccc9868 (diff)
downloadcoreutils-c253f9ba5159d11aaa8789106bad1911352a6e6a.tar.xz
(record_line_starts): Remove set-but-not-used, file-scope variable.
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/csplit.c b/src/csplit.c
index cf1257d84..8a6c65d94 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -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);