Skip to content

Commit

Permalink
fix(object_primitive): remove unnecessary array bound check
Browse files Browse the repository at this point in the history
  • Loading branch information
vimkim committed Dec 17, 2024
1 parent 40c16e4 commit 5f91731
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/object/object_primitive.c
Original file line number Diff line number Diff line change
Expand Up @@ -8718,7 +8718,6 @@ pr_type_from_id (DB_TYPE id)
{
PR_TYPE *type = NULL;

assert((unsigned long)id < (sizeof (tp_Type_id_map) / sizeof *tp_Type_id_map));
if (id <= DB_TYPE_LAST && id != DB_TYPE_TABLE)
{
type = tp_Type_id_map[(int) id];
Expand Down

0 comments on commit 5f91731

Please sign in to comment.