diff options
author | Pablo Barciela <[email protected]> | 2018-01-13 23:55:02 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-01-14 22:17:29 +0100 |
commit | a9b1c7c0a8a3c40909eec7e4f114715ee7496dfa (patch) | |
tree | 67e252485f7f0efedc5b2f21bbf9655e52a705e2 /plugins/libsensors/libsensors-plugin.h | |
parent | 7b42bfe840a26f940c6b3538f67e420b8f4300f5 (diff) | |
download | mate-sensors-applet-a9b1c7c0a8a3c40909eec7e4f114715ee7496dfa.tar.bz2 mate-sensors-applet-a9b1c7c0a8a3c40909eec7e4f114715ee7496dfa.tar.xz |
active-sensor.c: Fix build warning:
Fixes the build warning:
active-sensor.c: In function ‘active_sensor_new’:
active-sensor.c:425:44: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
active_sensor->alarm_timeout_id[i] = -1;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
active-sensor.c:424:5: note: within this loop
for (i = 0; i < NUM_NOTIFS; i++) {
^~~
Diffstat (limited to 'plugins/libsensors/libsensors-plugin.h')
0 files changed, 0 insertions, 0 deletions