MT#61140 Fix Coverity Scan defect (to_tag_flag)

Add `break` statement. Fixes:

*** CID 1600019:  Control flow issues  (MISSING_BREAK)
/daemon/call_interfaces.c: 1162 in call_ng_flags_flags()
1156                            out->strip_extmap = 1;
1157                            break;
1158                    case CSH_LOOKUP("symmetric-codecs"):
1159                            ilog(LOG_INFO, "Ignoring obsolete flag `symmetric-codecs`");
1160                            break;
1161                    case CSH_LOOKUP("to-tag"):
>>>     CID 1600019:  Control flow issues  (MISSING_BREAK)
>>>     The case for value "155" is not terminated by a "break" statement.
1162                    case CSH_LOOKUP("to_tag"):
1163                            /* including the To tag in the delete message allows to be more selective
1164                             * about monologues within a dialog to be torn down. */
1165                            out->to_tag_flag = 1;
1166                    case CSH_LOOKUP("trickle-ICE"):
1167                    case CSH_LOOKUP("trickle-ice"):

Change-Id: I0195341ec70ea623ea7fece3782cfdc030ee4eaf
mr13.0
Donat Zenichev 1 year ago
parent 3472f9cf3f
commit ac4a1bab38

@ -1163,6 +1163,7 @@ void call_ng_flags_flags(str *s, unsigned int idx, helper_arg arg) {
/* including the “To” tag in the “delete” message allows to be more selective
* about monologues within a dialog to be torn down. */
out->to_tag_flag = 1;
break;
case CSH_LOOKUP("trickle-ICE"):
case CSH_LOOKUP("trickle-ice"):
out->trickle_ice = 1;

Loading…
Cancel
Save