Initialise sx/sy to shut gcc/clang up.
---
 resize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resize.c b/resize.c
index 40a1a016..5d136455 100644
--- a/resize.c
+++ b/resize.c
@@ -141,7 +141,7 @@ recalculate_sizes(void)
        struct session  *s;
        struct client   *c;
        struct window   *w;
-       u_int            sx, sy, cx, cy;
+       u_int            sx = 0, sy = 0, cx, cy;
        int              flags, type, current, has, changed;
 
        /*
-- 
2.11.0

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to