diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-17 21:00:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-17 21:00:56 -0400 |
commit | 0aac17548e03be2e735727dd51de8b0100ca9cf5 (patch) | |
tree | ea7aabcc0788c182dd2ae092ff5b1b6599ca302e /swaybar/bar.c | |
parent | 2530f952c9cec4150f5ee44bdd764123ae09bd30 (diff) | |
parent | 06f46955c0be2990fe09620ec51bfb661fb0f8cc (diff) |
Merge pull request #763 from Hummer12007/patch-2
Fix a warning
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r-- | swaybar/bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index 41538052..e3e53622 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c @@ -99,7 +99,7 @@ static void mouse_scroll_notify(struct window *window, enum scroll_direction dir if (!swaybar.config->wrap_scroll) { // Find output this window lives on int i; - struct output *output; + struct output *output = NULL; for (i = 0; i < swaybar.outputs->length; ++i) { output = swaybar.outputs->items[i]; if (output->window == window) { |