vl: Remove useless 'continue'
authorChen Gang <gang.chen.5i5j@gmail.com>
Tue, 15 Apr 2014 23:56:20 +0000 (07:56 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 28 Apr 2014 04:55:31 +0000 (08:55 +0400)
"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 <gang.chen.5i5j@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
vl.c

diff --git a/vl.c b/vl.c
index d6c5df192ac5ed5b5933a984fa76c09ec01ace6f..0b08a029c6d66852f480ff30173d3908e90ab80a 100644 (file)
--- 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;