提交 f2a46c84 编写于 作者: J Jim Meyering

interface_conf.c: remove a dead-store and declaration

* src/interface_conf.c (virInterfaceDefParseDhcp): Remove unused "old".
上级 25b20b71
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册