summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2016-03-01 12:41:30 +0800
committerHao Wu <hao.a.wu@intel.com>2016-03-11 10:44:46 +0800
commit4349c91a34c981a87691500af849943cabbd54d3 (patch)
tree596a9cbb6962bbebe148c07875111387cf6795da /BaseTools/Source
parent0eabcb1b85331dccd446805f13efc77804604d14 (diff)
downloadedk2-platforms-4349c91a34c981a87691500af849943cabbd54d3.tar.xz
BaseTools/LZMA: fix the format issue for last patch
There are no functional changes in this patch. fixing the format base on last commit. The only change is 1) add back the blank line, which can help we better compare with the original LZMA source code. 2) remove the indent of #ifndef and #endif. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> (cherry picked from commit b9da8fe0e3a1353af0f5d698f449210908bab491)
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c b/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c
index 297db9d54d..5f70ebdef0 100644
--- a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c
+++ b/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c
@@ -1366,9 +1366,10 @@ static UInt32 GetOptimum(CLzmaEnc *p, UInt32 position, UInt32 *backRes)
if (repIndex == 0)
startLen = lenTest + 1;
- #ifndef _MSC_VER
+
+#ifndef _MSC_VER
if (1 /* _maxMode */)
- #endif
+#endif
{
UInt32 lenTest2 = lenTest + 1;
UInt32 limit = lenTest2 + p->numFastBytes;