Re: [PATCH] softmmu/vl: Remove redundant local variable

2022-02-28 Thread Philippe Mathieu-Daudé
On 28/2/22 04:27, Zhenzhong Duan wrote: While there is already a local variable opts in main function scope, no need to define another one with same name in smaller scope. No functional changes. Signed-off-by: Zhenzhong Duan --- softmmu/vl.c | 4 +--- 1 file changed, 1 insertion(+), 3 delet

[PATCH] softmmu/vl: Remove redundant local variable

2022-02-27 Thread Zhenzhong Duan
While there is already a local variable opts in main function scope, no need to define another one with same name in smaller scope. No functional changes. Signed-off-by: Zhenzhong Duan --- softmmu/vl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/softmmu/vl.c b/softmmu