SCP: Silence Coverity warning
This commit is contained in:
parent
833927d349
commit
80c1c9e0fd
1 changed files with 2 additions and 1 deletions
3
scp.c
3
scp.c
|
@ -10879,7 +10879,8 @@ if (switches & EXP_TYP_REGEX) {
|
|||
}
|
||||
else {
|
||||
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->size = match_size;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue