提交 0ecac8aa 编写于 作者: J Jiri Denemark

bridge: Fix uninitialized variable

上级 f42cf7cb
......@@ -676,7 +676,7 @@ brAddInetAddress(brControl *ctl ATTRIBUTE_UNUSED,
virSocketAddr *addr,
unsigned int prefix)
{
virCommandPtr cmd;
virCommandPtr cmd = NULL;
char *addrstr;
int ret = -1;
......@@ -715,7 +715,7 @@ brDelInetAddress(brControl *ctl ATTRIBUTE_UNUSED,
virSocketAddr *addr,
unsigned int prefix)
{
virCommandPtr cmd;
virCommandPtr cmd = NULL;
char *addrstr;
int ret = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册