Skip to content

Commit 6a10bf6

Browse files
BeyondMagicCopilot
andauthored
fix(optimizer): don't check non-null pointers
Co-authored-by: Copilot <[email protected]>
1 parent de0ab9d commit 6a10bf6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/optimizer.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,6 @@ static int compare_entries_by_index(const void *lhs, const void *rhs)
509509
{
510510
const CseEntry *const *a = lhs;
511511
const CseEntry *const *b = rhs;
512-
if (!a || !b)
513-
{
514-
return 0;
515-
}
516512
if ((*a)->first_stmt_index < (*b)->first_stmt_index)
517513
{
518514
return -1;

0 commit comments

Comments
 (0)