summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2016-03-01 12:41:30 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2016-03-03 12:06:41 +0800
commitb9da8fe0e3a1353af0f5d698f449210908bab491 (patch)
tree1c1f6d5e59df008559b56d766aea5349f955d306 /BaseTools
parent5a676df9cddfd659f65c39a1d984971d916fd00b (diff)
downloadedk2-b9da8fe0e3a1353af0f5d698f449210908bab491.tar.gz
edk2-b9da8fe0e3a1353af0f5d698f449210908bab491.tar.bz2
edk2-b9da8fe0e3a1353af0f5d698f449210908bab491.zip
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>
Diffstat (limited to 'BaseTools')
-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;