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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;