[mod_memcache] scan-build: Fix "Uninitialized argument value"

This commit is contained in:
Andrey Volk 2020-02-26 15:26:25 +04:00
parent 6decc21669
commit 69c8b06112
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ SWITCH_STANDARD_API(memcache_function)
}
switch_safe_free(val);
} else if ((!strcasecmp(subcmd, "increment") || !strcasecmp(subcmd, "decrement")) && argc > 1) {
uint64_t ivalue;
uint64_t ivalue = 0;
unsigned int offset = 1;
switch_bool_t increment = SWITCH_TRUE;
char *svalue = NULL;