From e6078a8cfee5aaf8f87d673848aa68b91ade5acf Mon Sep 17 00:00:00 2001
Message-Id: <e6078a8cfee5aaf8f87d673848aa68b91ade5acf.1367947969.git.minovotn@redhat.com>
In-Reply-To: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com>
References: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com>
From: Michal Novotny <minovotn@redhat.com>
Date: Tue, 7 May 2013 18:38:18 +0200
Subject: [PATCH 049/114] Revert "cleanup useless return sentence"

This reverts commit 03919d7c93abd31f5721babf7cc225fa97faa66c.

Reverting as asked by Laszlo in message <51892739.2030807@redhat.com>
because of the ordering issue (most likely) related to supersed
testing.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 qga/commands-posix.c | 2 ++
 qga/commands-win32.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index db6aa6f..3a2e192 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -989,6 +989,8 @@ int64_t qmp_guest_fsfreeze_thaw(Error **err)
 void qmp_guest_fstrim(bool has_minimum, int64_t minimum, Error **err)
 {
     error_set(err, QERR_UNSUPPORTED);
+
+    return;
 }
 #endif
 
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 5bd8fb2..54bc546 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -180,6 +180,8 @@ int64_t qmp_guest_fsfreeze_thaw(Error **err)
 void qmp_guest_fstrim(bool has_minimum, int64_t minimum, Error **err)
 {
     error_set(err, QERR_UNSUPPORTED);
+
+    return;
 }
 
 typedef enum {
-- 
1.7.11.7

