title: Why does Clang warn: `'&&' within '||'`?
body: <p>My understanding is the parentheses make no difference, so is there any reason (other than to “improve“ code-clarity) that Clang warns this as a default? I prefer not to add the parentheses as I dislike adding code for code’s sake.</p>
  
  <pre><code>src/websocket.c:420:43: warning: '&amp;&amp;' within '||' [-Wlogical-op-parentheses]
          if (rv == 0 &amp;&amp; N != 0 || rv == -1 &amp;&amp; errno == ECONNRESET) {
                                ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  src/websocket.c:420:43: note: place parentheses around the '&amp;&amp;' expression to
        silence this warning
          if (rv == 0 &amp;&amp; N != 0 || rv == -1 &amp;&amp; errno == ECONNRESET) {
                                   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  </code></pre>