st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit b81888ee7d95d9ecb7b1749630b09a96065a8fea
parent 8b8255ac0e188445f6904ff16272e9e93093cbde
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  9 Mar 2018 15:36:25 +0100

xhints: no need to initialize sizeh

Diffstat:
Mx.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x.c b/x.c
@@ -780,7 +780,7 @@ xhints(void)
     XClassHint class = {opt_name ? opt_name : termname,
                         opt_class ? opt_class : termname};
     XWMHints wm = {.flags = InputHint, .input = 1};
-    XSizeHints *sizeh = NULL;
+    XSizeHints *sizeh;
 
     sizeh = XAllocSizeHints();