diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c index 23816183a9..0fc142325e 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -157,13 +157,13 @@ ResetSystem ( case EfiResetShutdown: ResetShutdown (); - return; + break; case EfiResetPlatformSpecific: ResetPlatformSpecific (DataSize, ResetData); - return; + break; default: - return; + break; } }