From: Hiltjo Posthuma Date: Fri, 9 Mar 2018 14:36:25 +0000 (+0100) Subject: xhints: no need to initialize sizeh X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b81888ee7d95d9ecb7b1749630b09a96065a8fea;p=st.git xhints: no need to initialize sizeh --- diff --git a/x.c b/x.c index f005687..537322b 100644 --- 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();