summaryrefslogtreecommitdiff
path: root/src/msd-osd-window.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-16 16:04:07 +0200
committerVictor Kareh <[email protected]>2019-07-24 09:17:24 -0400
commit5a48f4f5a6172248fbb8462eba0d4498983ca29c (patch)
tree760c531a9f7eef9c2956ca38a2817a15486ef192 /src/msd-osd-window.c
parent67b0883a92607d52ece6ab7e8f8869e7f55bab29 (diff)
downloadmate-power-manager-5a48f4f5a6172248fbb8462eba0d4498983ca29c.tar.bz2
mate-power-manager-5a48f4f5a6172248fbb8462eba0d4498983ca29c.tar.xz
gpm-upower: fix some build warnings
``` gpm-upower.c:222:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] gpm-upower.c:222:44: note: add parentheses around left hand side expression to silence this warning 222 | if (state == UP_DEVICE_STATE_CHARGING || !state == UP_DEVICE_STATE_DISCHARGING) { | ^~~~~~ ``` ``` gpm-upower.c:222:53: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 222 | if (state == UP_DEVICE_STATE_CHARGING || (!state) == UP_DEVICE_STATE_DISCHARGING) { | ```
Diffstat (limited to 'src/msd-osd-window.c')
0 files changed, 0 insertions, 0 deletions