delet erronous null checks

idk where those even came from lel
This commit is contained in:
Alug committed 2025-04-14 11:28:23 +02:00
1 parent c7526928b7
commit 4294536055
1 file changed
-6
-6
View File
@@ -1128,9 +1128,6 @@ lumpnum_t W_CheckNumForName(const char *name)
INT32 i;
lumpnum_t check = INT16_MAX;
if (name == NULL)
return LUMPERROR;
if (!*name) // some doofus gave us an empty string?
return LUMPERROR;
@@ -1181,9 +1178,6 @@ lumpnum_t W_CheckNumForLongName(const char *name)
INT32 i;
lumpnum_t check = INT16_MAX;
if (name == NULL)
return LUMPERROR;
if (!*name) // some doofus gave us an empty string?
return LUMPERROR;