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:
commit
8151591b7d
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue