diff options
author | Lucio De Re <lucio.dere@gmail.com> | 2014-04-07 08:40:13 -0700 |
---|---|---|
committer | Lucio De Re <lucio.dere@gmail.com> | 2014-04-07 08:40:13 -0700 |
commit | 51be46e0659cd95778c7c761a2cd3800eb4d8f2c (patch) | |
tree | 44845c134f866227a5a1b5910b202c830d093fb0 /src/libbio | |
parent | 5f16adf34870d4fd287a34300e0852d6ab529f83 (diff) | |
download | go-51be46e0659cd95778c7c761a2cd3800eb4d8f2c.tar.gz |
libbio, libmach: warnings from the Plan 9 tool chain
Superficial inconsistencies that trigger warnings in
Plan 9. Small enough to be considered trivial and
seemingly benign outside of the Plan 9 environment.
LGTM=iant
R=golang-codereviews, 0intro, iant
CC=golang-codereviews
https://codereview.appspot.com/73460043
Committer: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/libbio')
-rw-r--r-- | src/libbio/bputrune.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libbio/bputrune.c b/src/libbio/bputrune.c index 0b4745ab4..f2077958b 100644 --- a/src/libbio/bputrune.c +++ b/src/libbio/bputrune.c @@ -36,7 +36,8 @@ Bputrune(Biobuf *bp, long c) rune = (Rune)c; if(rune < Runeself) { - BPUTC(bp, (int)rune); + n = BPUTC(bp, (int)rune); + USED(n); return 1; } n = runetochar(str, &rune); |