summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libformat/libformat/format.cxx3
-rw-r--r--libmformat/libmformat/format.cxx3
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 + '!';