interface_conf.c: remove a dead-store and declaration

* src/interface_conf.c (virInterfaceDefParseDhcp): Remove unused "old".
This commit is contained in:
Jim Meyering 2009-09-04 10:55:55 +02:00
parent 25b20b7103
commit f2a46c848c

View File

@ -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);