aboutsummaryrefslogtreecommitdiff
path: root/util/addon.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2022-11-24 22:37:52 +0100
committerGuido Günther <agx@sigxcpu.org>2022-11-24 22:37:52 +0100
commit8a56490229594dc86a12910e1711ab03ae14c6d1 (patch)
tree43f5699adc22aa4504019e9794ae297bb224c15e /util/addon.c
parent01103e1d99462aa9a9f22f40e02993c73092853a (diff)
seat/pointer: Initialize low_res_value
Fixes In file included from /usr/include/wayland-server-core.h:32, from ../types/seat/wlr_seat_pointer.c:6: In function 'wl_fixed_from_double', inlined from 'wlr_seat_pointer_send_axis' at ../types/seat/wlr_seat_pointer.c:367:6: /usr/include/wayland-util.h:641:17: error: 'low_res_value' may be used uninitialized [-Werror=maybe-uninitialized] 641 | u.d = d + (3LL << (51 - 8)); | ~~^~~~~~~~~~~~~~~~~~~ ../types/seat/wlr_seat_pointer.c: In function 'wlr_seat_pointer_send_axis': ../types/seat/wlr_seat_pointer.c:329:16: note: 'low_res_value' was declared here 329 | double low_res_value; | ^~~~~~~~~~~~~
Diffstat (limited to 'util/addon.c')
0 files changed, 0 insertions, 0 deletions