Merge pull request #25 from geistesk/error-maybe-uninitialized
getatom: fix potential uninitialized atom variable
This commit is contained in:
commit
8c95418334
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue