Signed-off-by: Shi Lei <shi_lei(a)massclouds.com>
---
tools/virsh-volume.c | 1 -
tools/virt-admin.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/tools/virsh-volume.c b/tools/virsh-volume.c
index 9d6ebd2..42d1170 100644
--- a/tools/virsh-volume.c
+++ b/tools/virsh-volume.c
@@ -520,7 +520,6 @@ cmdVolCreateFrom(vshControl *ctl, const vshCmd *cmd)
static xmlChar *
virshMakeCloneXML(const char *origxml, const char *newname)
{
-
xmlDocPtr doc = NULL;
xmlXPathContextPtr ctxt = NULL;
xmlXPathObjectPtr obj = NULL;
diff --git a/tools/virt-admin.c b/tools/virt-admin.c
index 107a1d8..63822bc 100644
--- a/tools/virt-admin.c
+++ b/tools/virt-admin.c
@@ -82,7 +82,6 @@ vshAdmClientTransportToString(int transport)
static int
vshAdmGetTimeStr(vshControl *ctl, time_t then, char **result)
{
-
char *tmp = NULL;
struct tm timeinfo;
--
2.17.1