]> git.armaanb.net Git - st.git/commitdiff
xhints: no need to initialize sizeh
authorHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 9 Mar 2018 14:36:25 +0000 (15:36 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 9 Mar 2018 14:36:25 +0000 (15:36 +0100)
x.c

diff --git a/x.c b/x.c
index f00568791f7051bca82307c08126c41dcfb9e44d..537322bf872e9e94e60fed25b8560cda4acfe382 100644 (file)
--- 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();