mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
vmstate-static-checker:remove this redundant return
Jump statements, such as return and continue let you change the default flow of program execution, but jump statements that direct the control flow to the original direction are just a waste of keystrokes. Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-Id: <20220928090312.2537-1-dinglimin@cmss.chinamobile.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
1c324bf908
commit
6191347991
1 changed files with 0 additions and 1 deletions
|
@ -367,7 +367,6 @@ def check_machine_type(s, d):
|
|||
if s["Name"] != d["Name"]:
|
||||
print("Warning: checking incompatible machine types:", end=' ')
|
||||
print("\"" + s["Name"] + "\", \"" + d["Name"] + "\"")
|
||||
return
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue