From: Andrey Volk Date: Mon, 17 Feb 2025 20:52:28 +0000 (+0300) Subject: [mod_conference] Coverity 1320840 Logically dead code. Execution cannot reach this... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2764%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_conference] Coverity 1320840 Logically dead code. Execution cannot reach this statement: d = ";" --- diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c index 7e566367fb..6b76cc4a39 100644 --- a/src/mod/applications/mod_conference/conference_api.c +++ b/src/mod/applications/mod_conference/conference_api.c @@ -2133,7 +2133,7 @@ switch_status_t conference_api_sub_list(conference_obj_t *conference, switch_str d = argv[2 + argofs]; if (*d == '"') { - if (++d) { + if (*(++d)) { char *p; if ((p = strchr(d, '"'))) { *p = '\0';