Merge pull request #479 from dragos-oancea/mod_erlang_event-uninitialized-value

[mod_erlang_event] scan-build: Function call argument is an uninitialized value
This commit is contained in:
Andrey Volk
2020-03-12 20:24:29 +04:00
committed by GitHub
@@ -1993,7 +1993,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_erlang_event_runtime)
switch_memory_pool_t *pool = NULL, *listener_pool = NULL;
switch_status_t rv;
switch_sockaddr_t *sa;
switch_os_socket_t sockdes;
switch_os_socket_t sockdes = SWITCH_SOCK_INVALID;
listener_t *listener;
uint32_t x = 0;
struct ei_cnode_s ec;