diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-06-19 20:18:17 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-06-19 20:18:17 +0200 |
| commit | 35314ce1e79a145c29ef83d2abdc823961b3653c (patch) | |
| tree | 43d4f5461c006ceedf95ed2ec363bec5e3d5bdd9 | |
| parent | 82b243b5adb7b22e1a97ad895c6eb89fe33e4097 (diff) | |
| download | plan9front-35314ce1e79a145c29ef83d2abdc823961b3653c.tar.xz | |
libc: fix compiler warning for mips canlock() and _tas()
| -rw-r--r-- | sys/src/libc/mips/lock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/src/libc/mips/lock.c b/sys/src/libc/mips/lock.c index c42208822..9c9bd2208 100644 --- a/sys/src/libc/mips/lock.c +++ b/sys/src/libc/mips/lock.c @@ -124,8 +124,9 @@ retry: return 1; } } - return 0; + break; } + return 0; } void @@ -164,6 +165,7 @@ retry: return 0; } } - return 1; + break; } + return 1; } |
