summaryrefslogtreecommitdiff
path: root/src/util/virstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/virstring.c')
-rw-r--r--src/util/virstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/virstring.c b/src/util/virstring.c
index 6453a23ada..fcae16c8fe 100644
--- a/src/util/virstring.c
+++ b/src/util/virstring.c
@@ -160,7 +160,7 @@ char *virStringListJoin(const char **strings,
return NULL;
ret = virBufferContentAndReset(&buf);
if (!ret)
- ignore_value(VIR_STRDUP(ret, ""));
+ ret = g_strdup("");
return ret;
}