]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: initialize all return values on successful exit of dns_cache_lookup()
authorLennart Poettering <lennart@poettering.net>
Wed, 15 Feb 2017 18:55:34 +0000 (19:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Feb 2017 09:25:16 +0000 (10:25 +0100)
commit2d4a4e141928f20035e83b59c44f465dbcc893df
treead90956dcd356a2d4da7b83b581c7fa0ec3c81f6
parent1fdeaeb741bf06d1c2efe08c28b5f9d0a3a7a5ec
resolved: initialize all return values on successful exit of dns_cache_lookup()

Following our coding style on success we should initialize all return
parameters of a function. We missed to cases for dns_cache_lookup() (but
covered all others), fix them too.
src/resolve/resolved-dns-cache.c