diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-09-01 09:53:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-01 09:53:29 +1000 |
commit | bf670b84c4cf8bd1a2f625308a006a4f8fe0a301 (patch) | |
tree | 5e0f38478cee6e81c11b1fef12b4d03bfb3614fd | |
parent | 2ddabacacf1162393e501ffd3c1439481bb4e31b (diff) | |
parent | e334b46b39ee38ac87da3f83b633a1c67091b7c3 (diff) |
Merge pull request #1211 from aereaux/aereaux-patch-1
Fix uninitialized value in wlr_cursor.
-rw-r--r-- | types/wlr_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c index 19b3a51a..49f11b20 100644 --- a/types/wlr_cursor.c +++ b/types/wlr_cursor.c @@ -332,7 +332,7 @@ static void handle_pointer_motion(struct wl_listener *listener, void *data) { static void apply_output_transform(double *x, double *y, enum wl_output_transform transform) { - double dx, dy; + double dx = 0.0, dy = 0.0; double width = 1.0, height = 1.0; switch (transform) { |