more-must-returns-20031207
authorJeffrey Altman <jaltman@grand.central.org>
Mon, 8 Dec 2003 02:41:17 +0000 (02:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 8 Dec 2003 02:41:17 +0000 (02:41 +0000)
More must returns value warnings cleaned up

src/WINNT/afsd/cm_freelance.c
src/ubik/recovery.c

index 1547f3a..62ec62e 100644 (file)
@@ -242,6 +242,7 @@ int cm_getLocalMountPointChange() {
 
 int cm_clearLocalMountPointChange() {
   cm_localMountPointChangeFlag = 0;
+  return 0;
 }
 
 /* called directly from ioctl */
index cbcaae9..342b60d 100644 (file)
@@ -164,7 +164,7 @@ urecovery_CheckTid(register struct ubik_tid *atid)
            ubik_currentTrans = (struct ubik_trans *)0;
        }
     }
-    return;
+    return 0;
 }
 
 /* log format is defined here, and implicitly in disk.c