mirror of
https://github.com/simh/simh.git
synced 2026-03-02 17:55:17 +00:00
SCP: Silence Coverity warning
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user