|
From: Paul F. <pa...@so...> - 2026-03-03 11:48:44
|
https://sourceware.org/cgit/valgrind/commit/?id=5cc956666e4421e2d52772182132778e5c0b9507 commit 5cc956666e4421e2d52772182132778e5c0b9507 Author: Paul Floyd <pj...@wa...> Date: Tue Mar 3 12:46:45 2026 +0100 Simplify condition in VG_(post_syscall) Diff: --- coregrind/m_syswrap/syswrap-main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-main.c b/coregrind/m_syswrap/syswrap-main.c index 763833c526..3342ff3b49 100644 --- a/coregrind/m_syswrap/syswrap-main.c +++ b/coregrind/m_syswrap/syswrap-main.c @@ -2647,9 +2647,7 @@ void VG_(post_syscall) (ThreadId tid) */ ent = get_syscall_entry(canonical_sysno); if (ent->after - && ((!sr_isError(sci->status.sres)) - || (sr_isError(sci->status.sres) - && (sci->flags & SfPostOnFail) ))) { + && (!sr_isError(sci->status.sres) || (sci->flags & SfPostOnFail))) { (ent->after)( tid, &sci->args, &sci->status ); } |