提交 75d256c1 编写于 作者: J Julio Faracco 提交者: Roman Bogorodskiy

util: remove unused variable inside virFileReadValueString().

The commit 69b937f0 introduced VIR_AUTOFREE and this macro removed
VIR_FREE. This change showed that 'str' variable was not being used
inside this method. This commit removes this unused variable.
Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
Reviewed-by: NRoman Bogorodskiy <bogorodskiy@gmail.com>
上级 e83da199
......@@ -4228,7 +4228,6 @@ int
virFileReadValueString(char **value, const char *format, ...)
{
int ret;
VIR_AUTOFREE(char *) str = NULL;
VIR_AUTOFREE(char *) path = NULL;
va_list ap;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册