Skip to content

Commit

Permalink
Fix useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Jan 19, 2023
1 parent 6129670 commit 1d28be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reprozip/native/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ int syscall_handle(struct Process *process)
/* LCOV_EXCL_START : internal error */
log_error(process->tid, "INVALID SYSCALL %d", syscall);
/* LCOV_EXCL_STOP */
if(entry == NULL && syscall >= 0 && (size_t)syscall < tbl->length)
if(syscall >= 0 && (size_t)syscall < tbl->length)
entry = &tbl->entries[syscall];
if(entry != NULL)
{
Expand Down

0 comments on commit 1d28be0

Please sign in to comment.