From: Andrew Deason Date: Tue, 13 Apr 2010 17:59:30 +0000 (-0500) Subject: Squash afs_GenericStoreProc warning X-Git-Tag: openafs-devel-1_5_74~32 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6bccc0aee0b8a0b0a0b665064c746b8e3fb22843;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/afs_fetchstore.c b/src/afs/afs_fetchstore.c index 270ac43e4..fb1c75da8 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;