From 8e411164127308d6235b848d6b1225f2ca9ae0ca Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Fri, 31 Jan 2020 23:28:25 +0000 Subject: [PATCH] [core] scan-build: The result of the '<<' expression is undefined - switch_log_str2mask() --- src/switch_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_log.c b/src/switch_log.c index 055298915c..2edd4171f2 100644 --- a/src/switch_log.c +++ b/src/switch_log.c @@ -310,7 +310,7 @@ SWITCH_DECLARE(uint32_t) switch_log_str2mask(const char *str) char *argv[10] = { 0 }; uint32_t mask = 0; char *p = strdup(str); - switch_log_level_t level; + switch_log_level_t level = SWITCH_LOG_INVALID; switch_assert(p);