Clean up code in places suggested by static analysis.

This commit is contained in:
2018-02-21 19:06:00 -08:00
parent 0541c18a91
commit a3e1fdd46e
2 changed files with 14 additions and 13 deletions

View File

@@ -25,6 +25,7 @@ libab_result _register_operator(libab* ab, const char* op, int token_type, int p
new_entry->variant = ENTRY_OP;
new_entry->data_u.op.function = func;
new_entry->data_u.op.precedence = precedence;
new_entry->data_u.op.associativity = associativity;
} else {
result = LIBAB_MALLOC;
}