From 28dfd60e1d0da9b645b395c9142d7ed23a8ca134 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 10 Feb 2007 14:23:10 +0000 Subject: [PATCH] skip_root returns NULL, if buf1 is NULL, so there's no need to check again git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4925 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index cc89c4ca..8ff84993 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -301,7 +301,7 @@ static int NSISCALL ExecuteEntry(entry *entry_) { char *p = skip_root(buf1); char c = 'c'; - if (*buf1 && p) + if (p) { while (c) {