From: Jim Meyering Date: Thu, 3 Sep 2009 16:23:51 +0000 (+0200) Subject: openvz_conf.c: Remove dead store to copy_fd X-Git-Tag: v0.7.1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198bd0516a982b1effc4757371dc9cff5c2c424c;p=thirdparty%2Flibvirt.git openvz_conf.c: Remove dead store to copy_fd * src/openvz_conf.c (openvz_copyfile): Remove unused assignment. --- diff --git a/src/openvz_conf.c b/src/openvz_conf.c index 41c668473c..2f0471c3c4 100644 --- a/src/openvz_conf.c +++ b/src/openvz_conf.c @@ -692,7 +692,6 @@ openvz_copyfile(char* from_path, char* to_path) fd = -1; if (close(copy_fd) < 0) goto error; - copy_fd = -1; return 0;