afs-serveriprank-return-void-20071211
authorMike Meffie <mmeffie@sinenomine.net>
Tue, 11 Dec 2007 21:28:26 +0000 (21:28 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 11 Dec 2007 21:28:26 +0000 (21:28 +0000)
LICENSE IPL10

can't return 0 from void function

src/afs/afs_server.c

index 520757a..17d27ec 100644 (file)
@@ -1129,7 +1129,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, afs_int32 addr,
            sa->sa_iprank = afs_min(sa->sa_iprank, MED);
        }
     }
-    return 0;
+    return;
 }
 #else /* AFS_USERSPACE_IP_ADDR */
 #if (! defined(AFS_SUN5_ENV)) && !defined(AFS_DARWIN60_ENV) && defined(USEIFADDR)