mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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;
|
goto cleanup;
|
||||||
|
|
||||||
if (autostart) {
|
if (autostart) {
|
||||||
int err;
|
if (virFileMakePath(driver->networkAutostartDir)) {
|
||||||
|
|
||||||
if ((err = virFileMakePath(driver->networkAutostartDir))) {
|
|
||||||
virReportSystemError(net->conn, errno,
|
virReportSystemError(net->conn, errno,
|
||||||
_("cannot create autostart directory '%s'"),
|
_("cannot create autostart directory '%s'"),
|
||||||
driver->networkAutostartDir);
|
driver->networkAutostartDir);
|
||||||
|
Loading…
Reference in New Issue
Block a user