summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/mips
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-18 19:30:12 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-18 19:30:12 +0100
commit3889ada9598854a3edd09007bd8a5f9a230c5bdf (patch)
tree530c0d78ed69ab84b062a620754d78f5f7fba748 /sys/src/ape/lib/ap/mips
parentaac6784fce5f1814150ea501c24f1fefce1fce12 (diff)
ape: silence compiler "no return at end of function" for mips lock.c
Diffstat (limited to 'sys/src/ape/lib/ap/mips')
-rw-r--r--sys/src/ape/lib/ap/mips/lock.c6
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 */
}