From: Andrey Volk Date: Sun, 1 Oct 2023 10:19:01 +0000 (+0300) Subject: [mod_pgsql] Coverity: 1227660 Logically dead code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4b1ecb661f0f1242a60f65285c136d0c6b0abd;p=thirdparty%2Ffreeswitch.git [mod_pgsql] Coverity: 1227660 Logically dead code --- diff --git a/src/mod/databases/mod_pgsql/mod_pgsql.c b/src/mod/databases/mod_pgsql/mod_pgsql.c index 0308f1f1fd..61250b3f20 100644 --- a/src/mod/databases/mod_pgsql/mod_pgsql.c +++ b/src/mod/databases/mod_pgsql/mod_pgsql.c @@ -113,7 +113,7 @@ static int db_is_up(switch_pgsql_handle_t *handle) char *err_str = NULL; int max_tries = DEFAULT_PGSQL_RETRIES; int code = 0; - int recon = 0; + switch_status_t recon = SWITCH_STATUS_FALSE; switch_byte_t sanity = 255; if (handle) {