test: fix minor defects (coverity).

Change-Id: I87165ca771a717815a2c81c36fcf1e9add2536bb
This commit is contained in:
Leo Yuriev 2017-07-04 13:07:08 +03:00
parent d01a97f729
commit e4a8a144b6

View File

@ -125,9 +125,11 @@ bool output(const logging::loglevel priority, const char *format, va_list ap) {
switch (end) {
default:
putc('\n', last);
// fall through
case '\n':
fflush(last);
last = nullptr;
// fall through
case ' ':
case '_':
case ':':