summaryrefslogtreecommitdiff
path: root/libmformat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-24 19:54:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-24 19:54:08 +0200
commit8dd2441ca31ff81dbb71234b5b4cc0286f6b483e (patch)
treec363cc74f20c1ebd9b090c1be0587f3daf7d175d /libmformat
parent865bf2ec13bd36d80147a94bc4d5f52b107c169e (diff)
Suppress warning
Diffstat (limited to 'libmformat')
-rw-r--r--libmformat/libmformat/format.cxx3
1 files changed, 2 insertions, 1 deletions
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 + '!';