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:
Pierre Gondois 2020-10-23 14:36:19 +01:00 committed by mergify[bot]
parent 1485e8bbc8
commit 28978df0bd
1 changed files with 2 additions and 2 deletions

View File

@ -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