diff options
author | David du Colombier <0intro@gmail.com> | 2014-02-13 20:05:55 +0100 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2014-02-13 20:05:55 +0100 |
commit | a2e04d1583c488aa22dcc4c7bc84841134cdf7db (patch) | |
tree | 9fd48c9db939b9e679a4ee067140de5413792477 /src/lib9/fmt/dorfmt.c | |
parent | 0d4bf7eff89c6027adf6a408ca9481885305d178 (diff) | |
download | go-a2e04d1583c488aa22dcc4c7bc84841134cdf7db.tar.gz |
lib9: fix inconsistencies and warnings on Plan 9
warning: src/lib9/fmt/dorfmt.c:64 unreachable code RETURN
warning: src/lib9/fmt/fltfmt.c:184 set and not used: p
warning: src/lib9/utf/utflen.c:35 unreachable code RETURN
warning: src/lib9/utf/utfrrune.c:45 unreachable code RETURN
warning: src/lib9/utf/utfrune.c:44 unreachable code RETURN
LGTM=rsc
R=rsc, iant, gobot
CC=golang-codereviews
https://codereview.appspot.com/57170052
Diffstat (limited to 'src/lib9/fmt/dorfmt.c')
-rw-r--r-- | src/lib9/fmt/dorfmt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib9/fmt/dorfmt.c b/src/lib9/fmt/dorfmt.c index c18d9ee5d..f760d47e5 100644 --- a/src/lib9/fmt/dorfmt.c +++ b/src/lib9/fmt/dorfmt.c @@ -61,5 +61,4 @@ dorfmt(Fmt *f, const Rune *fmt) if(fmt == nil) return -1; } - return 0; /* not reached */ } |