mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
network_driver.c: remove dead store to "err"
* src/network_driver.c (networkSetAutostart): ...and its decl.
This commit is contained in:
parent
1fcaae34e1
commit
130634dd7c
@ -1428,9 +1428,7 @@ static int networkSetAutostart(virNetworkPtr net,
|
||||
goto cleanup;
|
||||
|
||||
if (autostart) {
|
||||
int err;
|
||||
|
||||
if ((err = virFileMakePath(driver->networkAutostartDir))) {
|
||||
if (virFileMakePath(driver->networkAutostartDir)) {
|
||||
virReportSystemError(net->conn, errno,
|
||||
_("cannot create autostart directory '%s'"),
|
||||
driver->networkAutostartDir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user