Re: [systemd-devel] [PATCH 1/2] condense assignment and path_kill_slashes calls

2014-04-20 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Apr 19, 2014 at 01:33:28PM -0400, Dave Reisner wrote: > --- > Some of these are cases where the output variable is being modified, > but since path_kill_slashes can't fail, I didn't see this as being > controversial. Looks OK. Zbyszek > src/shared/cgroup-util.c | 10 +++--- > src/sha

[systemd-devel] [PATCH 1/2] condense assignment and path_kill_slashes calls

2014-04-19 Thread Dave Reisner
--- Some of these are cases where the output variable is being modified, but since path_kill_slashes can't fail, I didn't see this as being controversial. src/shared/cgroup-util.c | 10 +++--- src/shared/path-util.c | 3 +-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/sr