qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT a84b785] monitor: Remove uneeded 'return' stateme


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT a84b785] monitor: Remove uneeded 'return' statement
Date: Wed, 10 Jun 2009 17:00:39 -0000

From: Luiz Capitulino <address@hidden>

The 'return' statement at the of monitor_handle_command() is not
needed and can be removed.

Signed-off-by: Luiz Capitulino <address@hidden>

diff --git a/monitor.c b/monitor.c
index fd91752..9d04d9f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2714,7 +2714,6 @@ static void monitor_handle_command(Monitor *mon, const 
char *cmdline)
  fail:
     for(i = 0; i < MAX_ARGS; i++)
         qemu_free(str_allocated[i]);
-    return;
 }
 
 static void cmd_completion(const char *name, const char *list)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]