From eaa765ef6b891385001839d455717fe0fabb7a6f Mon Sep 17 00:00:00 2001 From: Shi Lei Date: Thu, 13 Sep 2018 16:55:24 +0800 Subject: [PATCH] tools: remove blank first line in function body Signed-off-by: Shi Lei --- 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 9d6ebd2325..42d11701ec 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 107a1d870d..63822bc13e 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;