Created attachment 7503 fix After updating the source to 1.6.1, I get the following compiler warning: xfpm-settings.c: In function 'format_light_locker_value_cb': xfpm-settings.c:1512:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ The compiler is right. In case "value" is between 59.0 and 60.0, no return statement is triggered. I used the attached patch to fix this for the openSUSE Package.
Stefan Seyfried referenced this bugreport in commit 7803611eab0034339d8293e5d4047231021137c4 Fix compiler warning (Bug #14104) https://git.xfce.org/xfce/xfce4-power-manager/commit?id=7803611eab0034339d8293e5d4047231021137c4
Indeed, both the compiler and you are right :) Thanks for the patch, it's a simple fix.