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
This commit is contained in:
kichik 2007-02-10 14:23:10 +00:00
parent cf043a9f00
commit 28dfd60e1d

View file

@ -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)
{