mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
static analysis: ensure is always false
This commit is contained in:
parent
a49c4c7682
commit
ca3d02fc61
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ namespace rsx
|
|||
return pos;
|
||||
}
|
||||
|
||||
ensure(_loc < _size);
|
||||
AUDIT(_loc < _size);
|
||||
|
||||
const auto remaining = (_size - _loc);
|
||||
memmove(pos + 1, pos, remaining * sizeof(Ty));
|
||||
|
@ -274,7 +274,7 @@ namespace rsx
|
|||
return pos;
|
||||
}
|
||||
|
||||
ensure(_loc < _size);
|
||||
AUDIT(_loc < _size);
|
||||
|
||||
const u32 remaining = (_size - _loc);
|
||||
memmove(pos + 1, pos, remaining * sizeof(Ty));
|
||||
|
|
Loading…
Add table
Reference in a new issue