diff options
author | 2003-06-25 03:42:00 +0000 | |
---|---|---|
committer | 2003-06-25 03:42:00 +0000 | |
commit | 92af4c2d6bae86bc2d2192408bdfc420aa21628f (patch) | |
tree | 75bb73b89c923b72a1964ded89bd2c23c03accf2 /usr.bin/diff/diffreg.c | |
parent | -Wstrict-prototypes (diff) | |
download | wireguard-openbsd-92af4c2d6bae86bc2d2192408bdfc420aa21628f.tar.xz wireguard-openbsd-92af4c2d6bae86bc2d2192408bdfc420aa21628f.zip |
remove unused variable
Diffstat (limited to 'usr.bin/diff/diffreg.c')
-rw-r--r-- | usr.bin/diff/diffreg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c index ee001439391..a6c0003f3fa 100644 --- a/usr.bin/diff/diffreg.c +++ b/usr.bin/diff/diffreg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffreg.c,v 1.7 2003/06/25 03:39:23 tedu Exp $ */ +/* $OpenBSD: diffreg.c,v 1.8 2003/06/25 03:42:00 tedu Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -128,7 +128,7 @@ struct cand { struct line { int serial; int value; -} *file[2], line; +} *file[2]; int len[2]; struct line *sfile[2]; /* shortened by pruning common prefix and suffix */ @@ -400,9 +400,9 @@ prepare(int i, FILE *fd) int j, h; fseek(fd, 0, 0); - p = talloc(3 * sizeof(line)); + p = talloc(3 * sizeof(struct line)); for (j = 0; (h = readhash(fd));) { - p = ralloc(p, (++j + 3) * sizeof(line)); + p = ralloc(p, (++j + 3) * sizeof(struct line)); p[j].value = h; } len[i] = j; |