[core] scan-build: The result of the '<<' expression is undefined - switch_log_str2mask()

This commit is contained in:
Dragos Oancea 2020-01-31 23:28:25 +00:00
parent 8f8e74cae9
commit 8e41116412
1 changed files with 1 additions and 1 deletions

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);