commit | 944aaef6d18fc8ea5a8d50c4393145550094a1b5 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed May 22 17:32:57 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed May 22 17:36:23 2013 -0700 |
tree | 8cad24005693f9dd0b683b82552d190aa17316ce | |
parent | f9ee748d829f771c21628c26cae99bd95e047f84 [diff] |
ct_env_create_real(): don't use uninitialized var In fact we do write() just to tell the other side it can proceed, so it's not important if what we write is initialized or not. But just to make Coverity happy, let's write 0. Also, while at it, declare the variable closer to its use, and rename it to something more neutral, since we don't mean any 'err' here. Reported by Coverity, CID 1025649 Signed-off-by: Kir Kolyshkin <kir@openvz.org>