From 6bccc0aee0b8a0b0a0b665064c746b8e3fb22843 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 13 Apr 2010 12:59:30 -0500 Subject: [PATCH] Squash afs_GenericStoreProc warning code is potentially unitialized. Initialize it. Change-Id: I9c8a787d9f7f05ea88752063f1b31e0be61e28ba Reviewed-on: http://gerrit.openafs.org/1746 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/afs_fetchstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs_fetchstore.c b/src/afs/afs_fetchstore.c index 270ac43..fb1c75d 100644 --- a/src/afs/afs_fetchstore.c +++ b/src/afs/afs_fetchstore.c @@ -270,7 +270,7 @@ afs_GenericStoreProc(struct storeOps *ops, void *rock, { struct rxfs_storeVariables *svar = rock; afs_uint32 tlen, bytesread, byteswritten; - afs_int32 code; + afs_int32 code = 0; int offset = 0; afs_size_t size; struct osi_file *tfile; -- 1.9.4