Snippets for setroot 2.0.2 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/testing/setroot/setroot-2.0.2-r1.log.
-
setroot.c:655:21: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 655 | float max_xtl = abs(mon->width - scaled_width); | ^~~ -
setroot.c:700:21: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 700 | float max_ytl = abs(mon->height - scaled_height); | ^~~ -
setroot.c:74:21: warning: 'SORT_BY_YORG' defined but not used [-Wunused-const-variable=] 74 | static const int SORT_BY_YORG = 2; | ^~~~~~~~~~~~ -
setroot.c:73:21: warning: 'SORT_BY_XORG' defined but not used [-Wunused-const-variable=] 73 | static const int SORT_BY_XORG = 1; | ^~~~~~~~~~~~ -
setroot.c:72:21: warning: 'SORT_BY_XINM' defined but not used [-Wunused-const-variable=] 72 | static const int SORT_BY_XINM = 0; | ^~~~~~~~~~~~