Unix CM: Remove unecessary lastXMinCheck init
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 14 Feb 2013 20:05:43 +0000 (20:05 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Thu, 21 Feb 2013 12:46:29 +0000 (04:46 -0800)
Don't init stuff to 0 that's then immediately reinitialised with
a proper value.

Caught by clang-analyzer

Change-Id: Ic0d8b227908fa716167acf64d7653b636e406816
Reviewed-on: http://gerrit.openafs.org/9153
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

src/afs/afs_daemons.c

index 7d875ed..d301b46 100644 (file)
@@ -143,8 +143,6 @@ afs_Daemon(void)
     char cs_warned = 0;
 
     AFS_STATCNT(afs_Daemon);
-    last1MinCheck = last3MinCheck = last60MinCheck = last10MinCheck =
-    last5MinCheck = lastNMinCheck = 0;
 
     afs_rootFid.Fid.Volume = 0;
     while (afs_initState < 101)