]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/specifier: make sure we set the output variable even for void answers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 11 Apr 2022 11:44:41 +0000 (13:44 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 11 Apr 2022 11:51:28 +0000 (13:51 +0200)
commit1c7ec2d2c810e8dba823f2c90ef4230dc820e06c
tree6cba0aa4fa9c3ba2365e0e3ed38c42e546b43157
parentec7401d0157ed90a4b7807a9fbca305930f2d0ee
shared/specifier: make sure we set the output variable even for void answers

This doesn't change anything for real uses, because we'd initialize the
variable to NULL for _cleanup_ anyway, but let's follow our general pattern
of always setting the output on "success". (Even if that success is an empty
answer here.)
src/shared/specifier.c