qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PULL 08/18] vl: Remove useless 'continue'


From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 08/18] vl: Remove useless 'continue'
Date: Mon, 28 Apr 2014 09:07:54 +0400

From: Chen Gang <address@hidden>

"This if else has no code between it and the end of the enclosing
while loop. This makes this continue redundant."

Signed-off-by: Chen Gang <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 vl.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/vl.c b/vl.c
index d6c5df1..0b08a02 100644
--- a/vl.c
+++ b/vl.c
@@ -3042,7 +3042,6 @@ int main(int argc, char **argv, char **envp)
         if (argv[optind][0] != '-') {
             /* disk image */
             optind++;
-            continue;
         } else {
             const QEMUOption *popt;
 
-- 
1.7.10.4




reply via email to

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