qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH trivial v2 0/2] vl: simplify code for main()


From: Chen Gang
Subject: [Qemu-devel] [PATCH trivial v2 0/2] vl: simplify code for main()
Date: Wed, 16 Apr 2014 07:55:22 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

In "vl.c", at least, we can simplify the code below, so can let readers
read professional C code (especially for new readers, which often start
reading code at main function).

 - Remove useless 'continue' in main().

 - Eliminate a superfluous local variable in main().

Signed-off-by: Chen Gang <address@hidden>
---
 vl.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)




reply via email to

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