diff options
author | 2004-09-14 23:54:21 +0000 | |
---|---|---|
committer | 2004-09-14 23:54:21 +0000 | |
commit | f325d8855968470c1e73f0912ec4fdf44c0c5ef0 (patch) | |
tree | 696f4d3336039fac96bb889f9b3fc70e21c6e7ea /usr.bin/patch/patch.c | |
parent | df is a flag, not some u_char thing with -1 value; millert ok (diff) | |
download | wireguard-openbsd-f325d8855968470c1e73f0912ec4fdf44c0c5ef0.tar.xz wireguard-openbsd-f325d8855968470c1e73f0912ec4fdf44c0c5ef0.zip |
remove unused variable
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r-- | usr.bin/patch/patch.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c index 7b754871ba9..e624893b477 100644 --- a/usr.bin/patch/patch.c +++ b/usr.bin/patch/patch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patch.c,v 1.41 2004/07/09 19:13:46 otto Exp $ */ +/* $OpenBSD: patch.c,v 1.42 2004/09/14 23:54:21 deraadt Exp $ */ /* * patch - a program to apply diffs to original files @@ -27,7 +27,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: patch.c,v 1.41 2004/07/09 19:13:46 otto Exp $"; +static const char rcsid[] = "$OpenBSD: patch.c,v 1.42 2004/09/14 23:54:21 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -146,7 +146,7 @@ static char end_defined[128]; int main(int argc, char *argv[]) { - int error = 0, hunk, failed, patch_seen = 0, i, fd; + int error = 0, hunk, failed, i, fd; LINENUM where = 0, newwhere, fuzz, mymaxfuzz; const char *tmpdir; char *v; @@ -210,7 +210,6 @@ main(int argc, char *argv[]) reinitialize_almost_everything()) { /* for each patch in patch file */ - patch_seen = true; warn_on_invalid_line = true; if (outname == NULL) |