Initialize 'FamilyIsNull' to True to avoid reference to uninitialized local variable.
authorqhuang8 <qhuang8@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 22 Jul 2009 06:00:51 +0000 (06:00 +0000)
committerqhuang8 <qhuang8@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 22 Jul 2009 06:00:51 +0000 (06:00 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1666 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/AutoGen/AutoGen.py

index a3383ae..5e816de 100755 (executable)
@@ -1062,6 +1062,7 @@ class PlatformAutoGen(AutoGen):
     def _ExpandBuildOption(self, Options):
         BuildOptions = {}
         FamilyMatch  = False
+        FamilyIsNull = True
         for Key in Options:
             Family = Key[0]
             Target, Tag, Arch, Tool, Attr = Key[1].split("_")