diff options
| author | Hummer12007 <hilobakho@gmail.com> | 2016-07-18 00:57:49 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-18 00:57:49 +0300 | 
| commit | 06f46955c0be2990fe09620ec51bfb661fb0f8cc (patch) | |
| tree | ea7aabcc0788c182dd2ae092ff5b1b6599ca302e /swaybar | |
| parent | 2530f952c9cec4150f5ee44bdd764123ae09bd30 (diff) | |
| download | sway-06f46955c0be2990fe09620ec51bfb661fb0f8cc.tar.xz | |
Fix a warning
Diffstat (limited to 'swaybar')
| -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) {  | 
