summaryrefslogtreecommitdiff
path: root/libformat
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 /libformat
parent865bf2ec13bd36d80147a94bc4d5f52b107c169e (diff)
Suppress warning
Diffstat (limited to 'libformat')
-rw-r--r--libformat/libformat/format.cxx3
1 files changed, 2 insertions, 1 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 + '!';