Fixes:
tsan/tsan_shadow.h:93:32: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
tsan/tsan_shadow.h:94:44: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
Differential D124828
tsan: fix GCC warnings marxin on May 3 2022, 1:12 AM. Authored by
Details
Fixes: tsan/tsan_shadow.h:93:32: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
Diff Detail Event Timeline
|
This implicitly hardcodes that kAccessWrite==0. While it's unlikely to change, it's possible.
I think it will be cleaner with: