aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-31 08:48:53 -0400
committerGitHub <noreply@github.com>2018-03-31 08:48:53 -0400
commit6eb72a1ae52de3080d6bf65c19d749f56228aaf9 (patch)
tree3feeabe1b51df3550c6c8742169c08a15163cf62 /rootston
parent8ed0e9f34341c77a9be6c0ab98ed18f83dca2c0d (diff)
parent3f6823092ad9bfa1def3c33e5d3c2d3cdbc676fa (diff)
Merge pull request #790 from orestisf1993/fix-build
Another gcc false positive
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 0668d8cb..c2e424cf 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -682,7 +682,7 @@ struct wlr_surface *desktop_surface_at(struct roots_desktop *desktop,
struct wlr_surface *surface = NULL;
struct wlr_output *wlr_output =
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;
*view = NULL;