fixed segfault, but am now having a new unknown one :(
This commit is contained in:
@ -1150,6 +1150,11 @@ TableNode *printTableNode(TableNode *tn) {
|
||||
printdebug("%s[PrintTN] Passed a NULL tablenode!", COLOR_RED);
|
||||
return undefined;
|
||||
}
|
||||
if (tn == undefined) {
|
||||
printdebug("%s[PrintTN] Passed an undefined tablenode!",
|
||||
COLOR_RED);
|
||||
return undefined;
|
||||
}
|
||||
if (tn->theName == NULL) {
|
||||
printdebug("%s[PrintTN] Passed a tablenode with NULL name!",
|
||||
COLOR_RED);
|
||||
@ -1160,11 +1165,6 @@ TableNode *printTableNode(TableNode *tn) {
|
||||
COLOR_RED);
|
||||
return undefined;
|
||||
}
|
||||
if (tn == undefined) {
|
||||
printdebug("%s[PrintTN] Passed an undefined tablenode!",
|
||||
COLOR_RED);
|
||||
return undefined;
|
||||
}
|
||||
if (tn->additionalinfo == NULL) {
|
||||
printdebug(
|
||||
"%s[PrintTN] Passed a tablenode with NULL additional info!",
|
||||
|
Reference in New Issue
Block a user