From: Jeffrey Altman Date: Sat, 18 Oct 2008 16:23:37 +0000 (+0000) Subject: STABLE14-restore-uninitialized-var-20081018 X-Git-Tag: openafs-stable-1_4_8pre3~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2d0a50f44cdbafad583c30ec8a1672459866680b;p=packages%2Fo%2Fopenafs.git STABLE14-restore-uninitialized-var-20081018 LICENSE MIT 'last' must be initialized. do so. (cherry picked from commit f69137625fde97e465671978820350d41ca5d5b8) --- diff --git a/src/bucoord/restore.c b/src/bucoord/restore.c index 0fc3135b6..913cf3604 100644 --- 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;