Merge pull request #790 from orestisf1993/fix-build

Another gcc false positive
This commit is contained in:
Drew DeVault 2018-03-31 08:48:53 -04:00 committed by GitHub
commit 6eb72a1ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ struct wlr_surface *desktop_surface_at(struct roots_desktop *desktop,
struct wlr_surface *surface = NULL; struct wlr_surface *surface = NULL;
struct wlr_output *wlr_output = struct wlr_output *wlr_output =
wlr_output_layout_output_at(desktop->layout, lx, ly); wlr_output_layout_output_at(desktop->layout, lx, ly);
struct roots_output *roots_output; struct roots_output *roots_output = NULL;
double ox = lx, oy = ly; double ox = lx, oy = ly;
*view = NULL; *view = NULL;