mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Fix all the warnings produced by clang
This commit is contained in:
parent
13629dbfd8
commit
cf85a1d3fb
1 changed files with 1 additions and 4 deletions
5
events.c
5
events.c
|
@ -452,7 +452,7 @@ void track_pointer(int root_x, int root_y)
|
|||
if (frozen_pointer->action == ACTION_NONE)
|
||||
return;
|
||||
|
||||
int16_t delta_x, delta_y, x, y, w, h;
|
||||
int16_t delta_x, delta_y, x = 0, y = 0, w = 1, h = 1;
|
||||
uint16_t width, height;
|
||||
|
||||
pointer_action_t pac = frozen_pointer->action;
|
||||
|
@ -465,9 +465,6 @@ void track_pointer(int root_x, int root_y)
|
|||
node_t *vertical_fence = frozen_pointer->vertical_fence;
|
||||
node_t *horizontal_fence = frozen_pointer->horizontal_fence;
|
||||
|
||||
x = y = 0;
|
||||
w = h = 1;
|
||||
|
||||
delta_x = root_x - frozen_pointer->position.x;
|
||||
delta_y = root_y - frozen_pointer->position.y;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue