edk2/BaseTools/Source/Python/Ecc
Pierre Gondois c169a5420b BaseTools: Remove unreachable code
Running the vulture tool gave the following report.
Remove the unreachable code.

- TargetTool/TargetTool.py:49:
  unreachable code after 'raise' (100% confidence)
- UPT/Library/UniClassObject.py:137:
  unreachable code after 'return' (100% confidence)
- UPT/Object/Parser/InfDefineObject.py:795:
  unreachable code after 'if' (100% confidence)
- Ecc/Check.py:1504:
  unreachable code after 'return' (100% confidence)

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
2025-07-01 09:51:38 +08:00
..
CParser3 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CParser4 BaseTools: Remove unused import 2025-07-01 09:51:38 +08:00
MetaFileWorkspace BaseTools: Fix multiple 'invalid escape sequence' warnings in tests 2024-09-23 04:55:53 +00:00
Xml BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
C.g BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
c.py BaseTools: Add @verbatim as allowed Doxygen tag 2025-02-04 00:12:00 +00:00
Check.py BaseTools: Remove unreachable code 2025-07-01 09:51:38 +08:00
CodeFragment.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CodeFragmentCollector.py BaseTools:ECC report errors on account of analyze special characters 2019-05-08 09:41:42 +08:00
config.ini BaseTools: drop GeneralCheckNonAscii() from ECC 2024-07-15 13:27:00 +00:00
Configuration.py BaseTools: Fix multiple 'invalid escape sequence' warnings in tests 2024-09-23 04:55:53 +00:00
Database.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EccGlobalData.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EccMain.py BaseTools: Clean up os.path.normcase and os.path.normpath usage 2025-01-09 07:25:45 +00:00
EccToolError.py BaseTools: Add @verbatim as allowed Doxygen tag 2025-02-04 00:12:00 +00:00
Exception.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
exception.xml BaseTools: Ecc/exception: Added _ModuleEntryPoint into exception list 2021-02-01 10:01:02 -08:00
FileProfile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaDataParser.py BaseTools/Ecc: Fix ECC check MetaFile Copyright information issue 2020-10-27 06:50:06 +00:00
ParserWarning.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00