Skip to content

Commit

Permalink
Fixes a wrong ASSERT assumption. (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 authored Dec 17, 2021
1 parent a4c50c9 commit fef680b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ionc/ion_symbol_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ iERR ion_symbol_table_get_system_table(hSYMTAB *p_hsystem_table, int32_t version
iENTER;
ION_SYMBOL_TABLE *system;

if (p_hsystem_table != NULL) FAILWITH(IERR_INVALID_ARG);
if (p_hsystem_table == NULL) FAILWITH(IERR_INVALID_ARG);
if (version != 1) FAILWITH(IERR_INVALID_ION_VERSION);

IONCHECK(_ion_symbol_table_get_system_symbol_helper(&system, version));
Expand Down

0 comments on commit fef680b

Please sign in to comment.