]> git.lizzy.rs Git - plan9front.git/commitdiff
ape: silence compiler "no return at end of function" for mips lock.c
authorcinap_lenrek <cinap_lenrek@felloff.net>
Wed, 18 Mar 2015 18:30:12 +0000 (19:30 +0100)
committercinap_lenrek <cinap_lenrek@felloff.net>
Wed, 18 Mar 2015 18:30:12 +0000 (19:30 +0100)
sys/src/ape/lib/ap/mips/lock.c

index 866d074e956f59ecad77b1b77b00bd6dfedbd594..7adb31a48414def160eca83e7dc361a5608469f7 100644 (file)
@@ -127,7 +127,8 @@ retry:
                        }
                }
                return 0;
-       }       
+       }
+       return -1;      /* not reached */
 }
 
 void
@@ -167,5 +168,6 @@ retry:
                        }
                }
                return 1;
-       }       
+       }
+       return -1;      /* not reached */
 }