From e4a8a144b64de12b1aea7dbe9fc700c740228d03 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Tue, 4 Jul 2017 13:07:08 +0300 Subject: [PATCH] test: fix minor defects (coverity). Change-Id: I87165ca771a717815a2c81c36fcf1e9add2536bb --- test/log.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/log.cc b/test/log.cc index eee0fffe..5ab99513 100644 --- a/test/log.cc +++ b/test/log.cc @@ -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 ':':