diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-24 19:54:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-24 19:54:08 +0200 |
commit | 8dd2441ca31ff81dbb71234b5b4cc0286f6b483e (patch) | |
tree | c363cc74f20c1ebd9b090c1be0587f3daf7d175d | |
parent | 865bf2ec13bd36d80147a94bc4d5f52b107c169e (diff) |
Suppress warning
-rw-r--r-- | libformat/libformat/format.cxx | 3 | ||||
-rw-r--r-- | libmformat/libmformat/format.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libformat/libformat/format.cxx b/libformat/libformat/format.cxx index d1c18bc..493f13c 100644 --- a/libformat/libformat/format.cxx +++ b/libformat/libformat/format.cxx @@ -20,9 +20,10 @@ namespace format switch (v) { case volume::quiet: return tolower (c); - case volume::normal: return c; + case volume::normal: break; case volume::loud: return toupper (c); } + return c; }); return r += ", " + n + '!'; diff --git a/libmformat/libmformat/format.cxx b/libmformat/libmformat/format.cxx index 181eb86..c109c2a 100644 --- a/libmformat/libmformat/format.cxx +++ b/libmformat/libmformat/format.cxx @@ -20,9 +20,10 @@ namespace format switch (v) { case volume::quiet: return tolower (c); - case volume::normal: return c; + case volume::normal: break; case volume::loud: return toupper (c); } + return c; }); return r += ", " + n + '!'; |