提交 63dffbf1 编写于 作者: J Jim Meyering

Avoid "may be used uninitialized" warning.

* tests/xmconfigtest.c (testCompareParseXML): Initialize "old_priv".
上级 97bed42f
Mon Jan 21 18:03:47 CET 2008 Jim Meyering <meyering@redhat.com>
Avoid "may be used uninitialized" warning.
* tests/xmconfigtest.c (testCompareParseXML): Initialize "old_priv".
Mon Jan 21 11:18:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/hash.c: Split the virFree* functions into virUnref*
......
......@@ -51,7 +51,7 @@ static int testCompareParseXML(const char *xmcfg_rel, const char *xml_rel,
int ret = -1;
virConnectPtr conn;
int wrote = MAX_FILE;
void *old_priv;
void *old_priv = NULL;
struct _xenUnifiedPrivate priv;
char xmcfg[PATH_MAX];
char xml[PATH_MAX];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册