SCP: Silence Coverity warning

This commit is contained in:
Mark Pizzolato 2018-01-05 05:53:44 -08:00
parent 833927d349
commit 80c1c9e0fd

3
scp.c
View file

@ -10879,7 +10879,8 @@ if (switches & EXP_TYP_REGEX) {
} }
else { else {
sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit);
sim_decode_quoted_string (match, match_buf, &match_size); /* quoted string was validated above, this decode operation will always succeed */
(void)sim_decode_quoted_string (match, match_buf, &match_size);
ep->match = match_buf; ep->match = match_buf;
ep->size = match_size; ep->size = match_size;
} }