diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-18 19:30:12 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-18 19:30:12 +0100 |
commit | 3889ada9598854a3edd09007bd8a5f9a230c5bdf (patch) | |
tree | 530c0d78ed69ab84b062a620754d78f5f7fba748 /sys/src/ape | |
parent | aac6784fce5f1814150ea501c24f1fefce1fce12 (diff) |
ape: silence compiler "no return at end of function" for mips lock.c
Diffstat (limited to 'sys/src/ape')
-rw-r--r-- | sys/src/ape/lib/ap/mips/lock.c | 6 |
1 files 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 */ } |