static analysis: ensure is always false
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user