every call to GetAprioriSection() is duplicated on the line below.
remove one of the calls.

Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Yonghong Zhu <yonghong....@intel.com>
Cc: Liming Gao <liming....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.car...@intel.com>
---
 BaseTools/Source/Python/GenFds/FdfParser.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py 
b/BaseTools/Source/Python/GenFds/FdfParser.py
index d8fb9ce60161..5a59a0a0d854 100644
--- a/BaseTools/Source/Python/GenFds/FdfParser.py
+++ b/BaseTools/Source/Python/GenFds/FdfParser.py
@@ -2122,7 +2122,6 @@ class FdfParser:
             raise Warning("FvNameString found but FvNameGuid was not found", 
self.FileName, self.CurrentLineNumber)
 
         self._GetAprioriSection(FvObj)
-        self._GetAprioriSection(FvObj)
 
         while True:
             isInf = self._GetInfStatement(FvObj)
@@ -3781,7 +3780,6 @@ class FdfParser:
                 self._GetFvAlignment(FvObj)
                 self._GetFvAttributes(FvObj)
                 self._GetAprioriSection(FvObj)
-                self._GetAprioriSection(FvObj)
 
                 while True:
                     IsInf = self._GetInfStatement(FvObj)
-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to