diff options
author | Nobuyoshi Nakada <[email protected]> | 2017-10-25 18:32:44 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-10-24 19:24:50 +0900 |
commit | 9822ebee5b35d9b6581ed64ac3b4bb05c972eab3 (patch) | |
tree | 90f69c2d0f93aca901f94d157ef85fe2e110c543 /thread.c | |
parent | 7459a32af3e89ea9990efb4d76bfdc869e480ffe (diff) |
suppress warnings by parenthesizing unclear expressions
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5015
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1670,7 +1670,7 @@ rb_nogvl(void *(*func)(void *), void *data1, int saved_errno = 0; VALUE ubf_th = Qfalse; - if (ubf == RUBY_UBF_IO || ubf == RUBY_UBF_PROCESS) { + if ((ubf == RUBY_UBF_IO) || (ubf == RUBY_UBF_PROCESS)) { ubf = ubf_select; data2 = th; } |