From 916f1e4863204388bc83e1f0d940804fe2c2a360 Mon Sep 17 00:00:00 2001 From: anders_k Date: Mon, 8 Oct 2018 13:04:55 +0000 Subject: [PATCH] Optimize away LL jump when possible git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7015 212acab6-be3b-0410-9dea-997c60f758d6 --- Include/LogicLib.nsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Include/LogicLib.nsh b/Include/LogicLib.nsh index 12092010..a94e5017 100644 --- a/Include/LogicLib.nsh +++ b/Include/LogicLib.nsh @@ -96,7 +96,9 @@ !macroend !macro LogicLib_JumpToBranch _Jump _Skip - StrCmp "" "" `${_Jump}` ${_Skip} + !if `${_Jump}` != `` + StrCmp "" "" `${_Jump}` ${_Skip} + !endif !macroend !macro _IncreaseCounter