]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
openvz_conf.c: Remove dead store to copy_fd
authorJim Meyering <meyering@redhat.com>
Thu, 3 Sep 2009 16:23:51 +0000 (18:23 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 4 Sep 2009 16:59:29 +0000 (18:59 +0200)
* src/openvz_conf.c (openvz_copyfile): Remove unused assignment.

src/openvz_conf.c

index 41c668473cec38e03e60c805258fbedb9f44b7fe..2f0471c3c4380cd61e54e5acec8ce56c1392b61e 100644 (file)
@@ -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;