Skip to content

Commit f12604c

Browse files
committed
Runtime: Fix a -Wlogical-op-parentheses warning.
Introduced by #72591.
1 parent ede7df6 commit f12604c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Runtime/TracingCommon.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ static inline bool shouldEnableTracing() {
3333
return false;
3434
if (__progname && (strcmp(__progname, "logd") == 0 ||
3535
strcmp(__progname, "diagnosticd") == 0 ||
36-
strcmp(__progname, "notifyd") == 0) ||
37-
strcmp(__progname, "xpcproxy") == 0)
36+
strcmp(__progname, "notifyd") == 0 ||
37+
strcmp(__progname, "xpcproxy") == 0))
3838
return false;
3939
return true;
4040
}

0 commit comments

Comments
 (0)