delet erronous null checks
idk where those even came from lel
This commit is contained in:
1 parent
c7526928b7
commit
4294536055
1 file changed
-6
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user