aboutsummaryrefslogtreecommitdiffstats
path: root/help.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-11-24 12:05:41 -0300
committerdequis <dx@dxzone.com.ar>2015-11-24 12:05:41 -0300
commit5b01e1a5b69d9a86833dcd54046fe6a7832efec8 (patch)
treebcf235ba0f4b4afe9c2da75a0065c8cd3e58f714 /help.c
parentad9ac5dccf8d27700850c02946ad3242a45d6fa9 (diff)
jabber: Fix detection of away state in choose_priority()
Thanks to this clang warning: comparison of array 'jd->away_state->code' not equal to a null pointer is always true [-Wtautological-pointer-compare] Although... given how ->code is offset 0, that might have worked sometimes if jd->away_state is null, assuming a compiler that doesn't hate humanity. Sadly, that is not something we can safely assume. I bet gcc saw this and thought "let's optimize your poor soul away".
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions