analyze warning fix
authorDerrick Brashear <shadow@dementia.org>
Mon, 22 Feb 2010 18:58:58 +0000 (13:58 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 22 Feb 2010 19:03:41 +0000 (11:03 -0800)
initialize variable. warnings caught this in the other compiler

Change-Id: Iae2ae5c1aefe29603bbf5d9952f65b0119f4db9b
Reviewed-on: http://gerrit.openafs.org/1363
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/afs/afs_analyze.c

index e7e07b4..9dd5489 100644 (file)
@@ -312,7 +312,7 @@ afs_Analyze(register struct afs_conn *aconn, afs_int32 acode,
     afs_int32 i;
     struct srvAddr *sa;
     struct server *tsp;
-    struct volume *tvp;
+    struct volume *tvp = NULL;
     afs_int32 shouldRetry = 0;
     afs_int32 serversleft = 1;
     struct afs_stats_RPCErrors *aerrP;