openbsd: initialize new_state with a default value before using it
otherwise the native build on openbsd complains:
../src/openbsd/up-backend.c:278:23: warning: variable 'new_state' is uninitialized when used here [-Wuninitialized]
new_time_to_empty = (new_state == UP_DEVICE_STATE_DISCHARGING && a.minutes_left > 0 ? a.minutes_left : 0);
^~~~~~~~~
regression from 8be73b98 ?
as of now, master doesnt work at all on OpenBSD, crashes at startup - will file a distinct issue.
Edited by Landry Breuil