mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
util: remove unused variable inside virFileReadValueString().
The commit 69b937f0358 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…
x
Reference in New Issue
Block a user