mirror of https://gitee.com/openkylin/libvirt.git
util: remove unused variable inside virFileReadValueString().
The commit 69b937f035
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: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
This commit is contained in:
parent
e83da1990c
commit
75d256c1ab
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue