Skip to content
  • Hans Breuer's avatar
    [warningectomy] & has lower precedence than == · 24f146b8
    Hans Breuer authored
    propdialogs.c(211,48) :  warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
          gboolean was_set = (pwa->prop->experience & PXP_NOTSET == 0);
                                                    ^~~~~~~~~~~~~~~~~
    propdialogs.c(211,48) :  note: place parentheses around the '==' expression to silence this warning
          gboolean was_set = (pwa->prop->experience & PXP_NOTSET == 0);
                                                    ^ ~~~~~~~~~~~~~~~
    propdialogs.c(211,48) :  note: place parentheses around the & expression to evaluate it first
          gboolean was_set = (pwa->prop->experience & PXP_NOTSET == 0);
                              ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
    24f146b8