Merge pull request #302 from dragos-oancea/switch_log-res-undefined

[core] scan-build: The result of the '<<' expression is undefined - switch_log_str2mask()
This commit is contained in:
Andrey Volk
2020-02-12 00:55:04 +04:00
committed by GitHub
+1 -1
View File
@@ -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);