mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
interface_conf.c: remove a dead-store and declaration
* src/interface_conf.c (virInterfaceDefParseDhcp): Remove unused "old".
This commit is contained in:
parent
25b20b7103
commit
f2a46c848c
@ -228,11 +228,9 @@ static int
|
||||
virInterfaceDefParseDhcp(virConnectPtr conn, virInterfaceDefPtr def,
|
||||
xmlNodePtr dhcp, xmlXPathContextPtr ctxt) {
|
||||
char *tmp;
|
||||
xmlNodePtr old;
|
||||
int ret = 0;
|
||||
|
||||
def->proto.dhcp = 1;
|
||||
old = ctxt->node;
|
||||
ctxt->node = dhcp;
|
||||
/* Not much to do in the current version */
|
||||
tmp = virXPathString(conn, "string(./@peerdns)", ctxt);
|
||||
|
Loading…
Reference in New Issue
Block a user