git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1bdea5e
)
restore-uninitialized-var-20081018
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 18 Oct 2008 16:23:13 +0000 (16:23 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 18 Oct 2008 16:23:13 +0000 (16:23 +0000)
LICENSE MIT
'last' must be initialized. do so.
src/bucoord/restore.c
patch
|
blob
|
history
diff --git
a/src/bucoord/restore.c
b/src/bucoord/restore.c
index
0fc3135
..
913cf36
100644
(file)
--- a/
src/bucoord/restore.c
+++ b/
src/bucoord/restore.c
@@
-164,7
+164,8
@@
bc_Restorer(aindex)
afs_int32 tapedumpid, parent;
afs_int32 nentries = 0;
- afs_int32 last, next, ve, vecount;
+ afs_int32 last = 0;
+ afs_int32 next, ve, vecount;
struct bc_tapeItem *ti, *pti, *nti;
struct bc_tapeList *tapeList = (struct bc_tapeList *)0;
struct bc_tapeList *tle, *ptle, *ntle;