aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-03-09 15:36:25 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-09 15:36:25 +0100
commitb81888ee7d95d9ecb7b1749630b09a96065a8fea (patch)
treef1b795233d38ea2b1a8ac962cd3f518476662763 /x.c
parent8b8255ac0e188445f6904ff16272e9e93093cbde (diff)
downloadst-b81888ee7d95d9ecb7b1749630b09a96065a8fea.tar.gz
st-b81888ee7d95d9ecb7b1749630b09a96065a8fea.tar.bz2
xhints: no need to initialize sizeh
Diffstat (limited to 'x.c')
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
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();