mirror of
https://github.com/open-simh/simh.git
synced 2026-01-17 16:54:08 +00:00
Various VAX: Mark Coverity False Positive for boot command parsing
This commit is contained in:
parent
8344225aef
commit
680ad4f239
@ -403,6 +403,7 @@ else { /* handle "BOOT DEV /R5:
|
||||
}
|
||||
/* parse R5 parameter value */
|
||||
r5v = 0;
|
||||
/* coverity[NULL_RETURNS] */
|
||||
if ((strncmp (regptr, "/R5:", 4) == 0) ||
|
||||
(strncmp (regptr, "/R5=", 4) == 0) ||
|
||||
(strncmp (regptr, "/r5:", 4) == 0) ||
|
||||
|
||||
@ -513,6 +513,7 @@ else
|
||||
ba = dibp->ba;
|
||||
unitno = (int32) (uptr - dptr->units);
|
||||
r5v = 0;
|
||||
/* coverity[NULL_RETURNS] */
|
||||
if ((strncmp (regptr, "/R5:", 4) == 0) ||
|
||||
(strncmp (regptr, "/R5=", 4) == 0) ||
|
||||
(strncmp (regptr, "/r5:", 4) == 0) ||
|
||||
|
||||
@ -649,6 +649,7 @@ else { /* handle "BOOT DEV /R5:
|
||||
}
|
||||
/* parse R5 parameter value */
|
||||
r5v = 0;
|
||||
/* coverity[NULL_RETURNS] */
|
||||
if ((strncmp (regptr, "/R5:", 4) == 0) ||
|
||||
(strncmp (regptr, "/R5=", 4) == 0) ||
|
||||
(strncmp (regptr, "/r5:", 4) == 0) ||
|
||||
|
||||
@ -665,6 +665,7 @@ else
|
||||
ba = dibp->ba;
|
||||
unitno = (int32) (uptr - dptr->units);
|
||||
r5v = 0;
|
||||
/* coverity[NULL_RETURNS] */
|
||||
if ((strncmp (regptr, "/R5:", 4) == 0) ||
|
||||
(strncmp (regptr, "/R5=", 4) == 0) ||
|
||||
(strncmp (regptr, "/r5:", 4) == 0) ||
|
||||
|
||||
@ -729,6 +729,7 @@ else
|
||||
ba = dibp->ba;
|
||||
unitno = (int32) (uptr - dptr->units);
|
||||
r5v = 0;
|
||||
/* coverity[NULL_RETURNS] */
|
||||
if ((strncmp (regptr, "/R5:", 4) == 0) ||
|
||||
(strncmp (regptr, "/R5=", 4) == 0) ||
|
||||
(strncmp (regptr, "/r5:", 4) == 0) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user