projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fffbc7
)
(record_line_starts): Remove set-but-not-used, file-scope variable.
author
Jim Meyering
<jim@meyering.net>
Fri, 19 May 1995 15:59:40 +0000
(15:59 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 19 May 1995 15:59:40 +0000
(15:59 +0000)
src/csplit.c
patch
|
blob
|
history
diff --git
a/src/csplit.c
b/src/csplit.c
index
cf1257d
..
8a6c65d
100644
(file)
--- 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);