From fc3609dba2fa809904ecce19a10d21ac01466f28 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 15 Aug 2018 18:54:34 -0400 Subject: Fix uninitialized variable --- tinywl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinywl.c') diff --git a/tinywl.c b/tinywl.c index d542bee..9c749d0 100644 --- a/tinywl.c +++ b/tinywl.c @@ -370,7 +370,7 @@ static void render_surface(struct wlr_surface *surface, return; } - double ox, oy; + double ox = 0, oy = 0; wlr_output_layout_output_coords( view->server->output_layout, output, &ox, &oy); ox += view->x + sx, oy += view->y + sy; -- cgit v1.2.3