summaryrefslogtreecommitdiff
path: root/src/shared/ioprio.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-02-27 20:05:26 +0100
committerDaniel Mack <daniel@zonque.org>2015-02-27 20:12:16 +0100
commit8a9c6071cb7467170010f0287672c987981bdf9c (patch)
tree8a5769d6b0851c694ac6b6b61a6cc7cb710434c8 /src/shared/ioprio.h
parent0d4ad91dd4fc831c31a9775b0eadf97fea6cd7f6 (diff)
shared/condition: fix gcc5 warning
Fixes the warning below. src/shared/condition.c: In function ‘condition_new’: src/shared/condition.c:47:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] assert(!parameter == (type == CONDITION_NULL)); ^ src/shared/macro.h:42:44: note: in definition of macro ‘_unlikely_’ #define _unlikely_(x) (__builtin_expect(!!(x),0)) ^ src/shared/macro.h:226:22: note: in expansion of macro ‘assert_se’ #define assert(expr) assert_se(expr) ^ src/shared/condition.c:47:9: note: in expansion of macro ‘assert’ assert(!parameter == (type == CONDITION_NULL)); ^
Diffstat (limited to 'src/shared/ioprio.h')
0 files changed, 0 insertions, 0 deletions