]> git.ipfire.org Git - thirdparty/lxc.git/commit
cmd: Move assignment out of if statement 2534/head
authorTobin C. Harding <me@tobin.cc>
Thu, 16 Aug 2018 07:04:58 +0000 (17:04 +1000)
committerTobin C. Harding <me@tobin.cc>
Thu, 16 Aug 2018 07:06:20 +0000 (17:06 +1000)
commitf0a86c6d1c8288870a5e1c05cc12459ef356c3df
treebbe603c72ad09e7305ba8180fd3319207f7092a9
parent2db65c2187bd82f036034ded2cadaba92fbd9e1d
cmd: Move assignment out of if statement

checkpatch.pl emits error

    ERROR: do not use assignment in if condition

Move assignment out of if statement.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
src/lxc/cmd/lxc_usernsexec.c