Squash afs_GenericStoreProc warning

code is potentially unitialized. Initialize it.

Change-Id: I9c8a787d9f7f05ea88752063f1b31e0be61e28ba
Reviewed-on: http://gerrit.openafs.org/1746
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-04-13 12:59:30 -05:00 committed by Derrick Brashear
parent 830cb48cbd
commit 6bccc0aee0

View File

@ -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;