From 8dd2441ca31ff81dbb71234b5b4cc0286f6b483e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Aug 2017 19:54:08 +0200 Subject: Suppress warning --- libformat/libformat/format.cxx | 3 ++- 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 + '!'; -- cgit v1.1