[hackers] [st] xhints: no need to initialize sizeh || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Fri, 9 Mar 2018 15:37:40 +0100 (CET)

commit b81888ee7d95d9ecb7b1749630b09a96065a8fea
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Fri Mar 9 15:36:25 2018 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Fri Mar 9 15:36:25 2018 +0100

    xhints: no need to initialize sizeh

diff --git a/x.c b/x.c
index f005687..537322b 100644
--- a/x.c
+++ b/x.c
_AT_@ -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();
 
Received on Fri Mar 09 2018 - 15:37:40 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 09 2018 - 15:51:34 CET