ArmPlatformPkg: Fix Ecc error 5007 in PL031RealTimeClockLib
This patch fixes the following Ecc reported error: There should be no initialization of a variable as part of its declaration Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
		
				
					committed by
					
						![mergify[bot]](/avatar/e3df20cd7a67969c41a65f03bea54961?size=40) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							1485e8bbc8
						
					
				
				
					commit
					28978df0bd
				
			| @@ -2,7 +2,7 @@ | ||||
|   Implement EFI RealTimeClock runtime services via RTC Lib. | ||||
|  | ||||
|   Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR> | ||||
|   Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR> | ||||
|   Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR> | ||||
|   Copyright (c) 2019, Linaro Ltd. All rights reserved.<BR> | ||||
|  | ||||
|   SPDX-License-Identifier: BSD-2-Clause-Patent | ||||
| @@ -121,7 +121,7 @@ LibGetTime ( | ||||
|   OUT EFI_TIME_CAPABILITIES   *Capabilities | ||||
|   ) | ||||
| { | ||||
|   EFI_STATUS  Status = EFI_SUCCESS; | ||||
|   EFI_STATUS  Status; | ||||
|   UINT32      EpochSeconds; | ||||
|  | ||||
|   // Ensure Time is a valid pointer | ||||
|   | ||||
		Reference in New Issue
	
	Block a user