]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss-resolve: define variables in the body 19168/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 31 Mar 2021 14:48:04 +0000 (16:48 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 31 Mar 2021 15:19:03 +0000 (17:19 +0200)
commit75d2f0a0c464472537af204c1b56bd18371dfa45
tree0d5c156867ac4366f065bf3829a01c2c45d62842
parent77fac974fe396dbe4fb679b748bfa89db1136e0c
nss-resolve: define variables in the body

Same motivation as in the parent commit: let's define variables later, ideally
right when they are first initialized, so it's easier to figure out that they
are properly initialized.

error_id and r_tuple* were previously initialized, but I don't see why they
would need to be.

No functional change intended.
src/nss-resolve/nss-resolve.c