git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
04ca4bd
)
DEVEL15-vldb-check-no-bogus-shadow-decl-20090217
author
Derrick Brashear
<shadow@dementia.org>
Tue, 17 Feb 2009 14:34:31 +0000 (14:34 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 17 Feb 2009 14:34:31 +0000 (14:34 +0000)
LICENSE IPL10
unfussy compilers treat this as a shadow declare; others thankfully as an error
(cherry picked from commit
da8df5ea2c9311c4e4b263fbdba3aea3141ef075
)
src/vlserver/vldb_check.c
patch
|
blob
|
history
diff --git
a/src/vlserver/vldb_check.c
b/src/vlserver/vldb_check.c
index
5505d51
..
3602425
100644
(file)
--- a/
src/vlserver/vldb_check.c
+++ b/
src/vlserver/vldb_check.c
@@
-1084,13
+1084,13
@@
FixBad(afs_uint32 idx, afs_uint32 addr, afs_uint32 type, afs_uint32 tmp,
int
WorkerBee(struct cmd_syndesc *as, void *arock)
{
- error_level = 0; /* start clean with no error status */
char *dbfile;
afs_int32 maxentries, type, tmp;
struct vlheader header;
struct nvlentry vlentry, vlentry2;
int i, j, help = 0;
+ error_level = 0; /* start clean with no error status */
dbfile = as->parms[0].items->data; /* -database */
listuheader = (as->parms[1].items ? 1 : 0); /* -uheader */
listheader = (as->parms[2].items ? 1 : 0); /* -vheader */