Fix gcc maybe-uninitialized in wlr_cursor apply_output_transform

This commit is contained in:
Ivan Chebykin 2018-05-04 18:41:51 +03:00
parent bf793a68c1
commit cec7cd2b39
No known key found for this signature in database
GPG key ID: 34A8A768BB01746F

View file

@ -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 = *x, dy = *y;
double width = 1.0, height = 1.0;
switch (transform) {