diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-08-03 12:14:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 12:14:27 -0500 |
commit | 8c95418334957161cfe9ca888c3f9e10fb495d21 (patch) | |
tree | 6cd57986842ed7b934bd7f2abe6add5778c6849b | |
parent | 0ac2f6616a5f0f3ab10b53dcf294862d87116421 (diff) | |
parent | 744f20790cae868ee435dcceefdfa4c40fd21925 (diff) |
Merge pull request #25 from geistesk/error-maybe-uninitialized
getatom: fix potential uninitialized atom variable
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |