From 75d256c1ab0f3f33a7ee314700bb7749982c9422 Mon Sep 17 00:00:00 2001 From: Julio Faracco Date: Sat, 14 Jul 2018 13:14:06 -0300 Subject: [PATCH] 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 Reviewed-by: Roman Bogorodskiy --- src/util/virfile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index 6b94885a87..1faeebbdb5 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -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; -- GitLab