From 81024f80e9194a339f56d67ef279d17dcf2b427c Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 18 Oct 2008 16:23:24 +0000 Subject: [PATCH] DEVEL15-restore-uninitialized-var-20081018 LICENSE MIT 'last' must be initialized. do so. (cherry picked from commit f69137625fde97e465671978820350d41ca5d5b8) --- src/bucoord/restore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5