getatom: fix potential uninitialized atom variable
The getatom function returns the atom variable, which is only initialized in case of a success. This results in a maybe-uninitialized warning/error. After this commit, now a zero value is returned in case of error.main
parent
a0bb84b204
commit
744f20790c
Loading…
Reference in New Issue