From 4349c91a34c981a87691500af849943cabbd54d3 Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Tue, 1 Mar 2016 12:41:30 +0800 Subject: 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 Reviewed-by: Liming Gao (cherry picked from commit b9da8fe0e3a1353af0f5d698f449210908bab491) --- BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'BaseTools') 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; -- cgit v1.2.3