Merge pull request #2764 from signalwire/coverity_conf

[mod_conference] Coverity 1320840 Logically dead code. Execution cannot reach this statement: d = ";"
This commit is contained in:
Andrey Volk 2025-02-20 03:33:01 +03:00 committed by GitHub
commit cde827dbf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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';