mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
[mod_skinny] scan-build: Assigned value is garbage or undefined
This commit is contained in:
1 parent
2d727b7b31
commit
6b07fa31a4
1 file changed
+2
-2
@@ -1928,7 +1928,7 @@ switch_status_t skinny_handle_capabilities_response(listener_t *listener, skinny
|
|||||||
|
|
||||||
uint32_t i = 0;
|
uint32_t i = 0;
|
||||||
uint32_t n = 0;
|
uint32_t n = 0;
|
||||||
char *codec_order[SWITCH_MAX_CODECS];
|
char *codec_order[SWITCH_MAX_CODECS] = {0};
|
||||||
char *codec_string;
|
char *codec_string;
|
||||||
|
|
||||||
size_t string_len, string_pos, pos;
|
size_t string_len, string_pos, pos;
|
||||||
@@ -2556,7 +2556,7 @@ switch_status_t skinny_handle_updatecapabilities(listener_t *listener, skinny_me
|
|||||||
|
|
||||||
uint32_t i = 0;
|
uint32_t i = 0;
|
||||||
uint32_t n = 0;
|
uint32_t n = 0;
|
||||||
char *codec_order[SKINNY_MAX_CAPABILITIES];
|
char *codec_order[SKINNY_MAX_CAPABILITIES] = {0};
|
||||||
char *codec_string;
|
char *codec_string;
|
||||||
|
|
||||||
size_t string_len, string_pos, pos;
|
size_t string_len, string_pos, pos;
|
||||||
|
|||||||
Reference in new issue
Block a user