chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:05 +0000 (07:59 +0200)
commitac0b078399d2c59fa50c197c7370e45a37d76d6b
tree03dd1026bb2d06538c328085ebfdbefe17621564
parent65c2929bed8254e5ea24bb2d3d5a403a36daf69e
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