Merge pull request #25 from geistesk/error-maybe-uninitialized

getatom: fix potential uninitialized atom variable
This commit is contained in:
Devin J. Pohly 2020-08-03 12:14:27 -05:00 committed by GitHub
commit 8c95418334
Failed to generate hash of commit

2
dwl.c
View file

@ -762,7 +762,7 @@ focustop(Monitor *m)
Atom
getatom(xcb_connection_t *xc, const char *name)
{
Atom atom;
Atom atom = 0;
xcb_generic_error_t *error;
xcb_intern_atom_cookie_t cookie;
xcb_intern_atom_reply_t *reply;