Fix invalid check found by PVS Studio
Was V501 at https://www.viva64.com/en/b/0741/
This commit is contained in:
parent
03416d24e1
commit
70076bf624
|
@ -5573,7 +5573,7 @@ void Shake_The_Screen(int shakes, HousesType house)
|
||||||
*=============================================================================================*/
|
*=============================================================================================*/
|
||||||
void List_Copy(short const * source, int len, short * dest)
|
void List_Copy(short const * source, int len, short * dest)
|
||||||
{
|
{
|
||||||
if (dest == NULL || dest == NULL) {
|
if (source == NULL || dest == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue