mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
openvz_conf.c: Remove dead store to copy_fd
* src/openvz_conf.c (openvz_copyfile): Remove unused assignment.
This commit is contained in:
parent
f4d881649a
commit
198bd0516a
@ -692,7 +692,6 @@ openvz_copyfile(char* from_path, char* to_path)
|
|||||||
fd = -1;
|
fd = -1;
|
||||||
if (close(copy_fd) < 0)
|
if (close(copy_fd) < 0)
|
||||||
goto error;
|
goto error;
|
||||||
copy_fd = -1;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user