FS-11341: [core] clang static analyzer warning in switch_utils.h:switch_parse_cpu_string
This commit is contained in:
parent
1cc809c5d9
commit
b03cde3c57
|
@ -1087,7 +1087,7 @@ static inline int32_t switch_parse_bandwidth_string(const char *bwv)
|
|||
static inline uint32_t switch_parse_cpu_string(const char *cpu)
|
||||
{
|
||||
int cpu_count = switch_core_cpu_count();
|
||||
int ncpu = cpu_count;
|
||||
int ncpu;
|
||||
|
||||
if (!cpu) return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue