From 3889ada9598854a3edd09007bd8a5f9a230c5bdf Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 18 Mar 2015 19:30:12 +0100 Subject: [PATCH] ape: silence compiler "no return at end of function" for mips lock.c --- sys/src/ape/lib/ap/mips/lock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/src/ape/lib/ap/mips/lock.c b/sys/src/ape/lib/ap/mips/lock.c index 866d074e9..7adb31a48 100644 --- a/sys/src/ape/lib/ap/mips/lock.c +++ b/sys/src/ape/lib/ap/mips/lock.c @@ -127,7 +127,8 @@ retry: } } return 0; - } + } + return -1; /* not reached */ } void @@ -167,5 +168,6 @@ retry: } } return 1; - } + } + return -1; /* not reached */ }