]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/analyze/analyze.c
Fix write-only use of a few variables
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 11 Oct 2013 23:34:17 +0000 (19:34 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 13 Oct 2013 21:56:54 +0000 (17:56 -0400)
commit872c8faaf2009422a91d227ae0b5c6f04c9d2c69
treea6b03abbcd801638098ec591f48873b39f6a0dcd
parent51d122af23533b0b8318911c4fc8b128ad8eafb7
Fix write-only use of a few variables

Since the invention of read-only memory, write-only memory has been
considered deprecated. Where appropriate, either make use of the
value, or avoid writing it, to make it clear that it is not used.
src/analyze/systemd-analyze.c
src/bootchart/bootchart.c
src/bootchart/svg.c
src/hostname/hostnamectl.c
src/journal/coredump.c
src/libsystemd-bus/test-bus-memfd.c
src/login/logind-dbus.c
src/systemctl/systemctl.c
src/test/test-libudev.c
src/udev/udevadm-hwdb.c