]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: shorten the code a bit in two places
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 25 Feb 2018 16:26:22 +0000 (17:26 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Feb 2018 14:47:12 +0000 (15:47 +0100)
commit00d4b1e684a84cf87f5694f30ad69afc19ada166
tree7be944a914ace0fec12c343cca28f070e3bf7ca7
parentf2e3f3695052ce59d119758d02bec9b1021731bd
basic: shorten the code a bit in two places

gcc complains that len might be used unitialized, but afaict, this is not true.
src/basic/cgroup-util.c
src/basic/env-util.c