]> git.proxmox.com Git - mirror_lxc.git/commit
criu: Remove unnecessary return after _exit()
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 11 May 2019 23:39:51 +0000 (01:39 +0200)
committerRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 11 May 2019 23:55:34 +0000 (01:55 +0200)
commit17e68c49cf920fba52e937dcf6e0071035ee7927
tree93acb700b144b3e18a1678564bddecfd1db796c3
parentad4dddd85e9fb1fbb38b411d6041eb0e7bf3f175
criu: Remove unnecessary return after _exit()

Since _exit() will terminate, the return statement is dead code. Also,
returning -1 from a function with bool as return type is confusing.

Detected with cppcheck.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
src/lxc/criu.c