]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: initialize row/column explicitly before calling sd_json_parse_file()
authorLennart Poettering <lennart@poettering.net>
Thu, 20 Feb 2025 09:04:34 +0000 (10:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 20 Feb 2025 16:34:36 +0000 (17:34 +0100)
commit9df18e4bee8ad4034a6fd278c1027005199b91c5
treecf00ac10f40ef8b4cddd75dd4670d67df64c119e
parent2cf95e51784d897ce6e5be6a8e9cbeaba7b05c77
tree-wide: initialize row/column explicitly before calling sd_json_parse_file()

The variables are error return parameters, i.e. only initialized on some errors,
not all. Let's hence always zero initialize them.
src/analyze/analyze-security.c
src/home/homectl.c
src/home/homed-home.c
src/home/homed-manager.c
src/home/homework-luks.c
src/home/homework.c
src/network/networkd-serialize.c
src/varlinkctl/varlinkctl.c