summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-08-29 14:33:09 +0300
committerHao Wu <hao.a.wu@intel.com>2017-08-30 14:14:20 +0300
commit7046a2739ae74f5d5c86ea18dc4bcc855e4916c6 (patch)
tree247e174a1f686c3df240e0c9243d4709b3355266 /BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py
parentdb6f08a0eae66f5c8e9a91930d9bc78c7eb404bb (diff)
downloadedk2-7046a2739ae74f5d5c86ea18dc4bcc855e4916c6.tar.xz
IntelSiliconPkg/PlatformVTdSample: Avoid using constant result 'if'
In this sample driver, if (0) {...} else {...} statements were used to illustrate two different using scenarios. This comment refines the coding style by substituting the 'if (0)' statement with comments to select sample codes for different cases. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py')
0 files changed, 0 insertions, 0 deletions