LazBuild: Remove a useless test.

git-svn-id: trunk@60547 -
This commit is contained in:
juha 2019-02-28 22:43:47 +00:00
parent 4ec379908c
commit 5047f10361

View File

@ -486,7 +486,7 @@ begin
XMLConfig.Free;
end;
// check Package Name
if (Result.Name='') or not IsValidPkgName(Result.Name) then
if not IsValidPkgName(Result.Name) then
Error(ErrorPackageNameInvalid,
Format(lisPkgMangThePackageNameOfTheFileIsInvalid,
[Result.Name, LineEnding, Result.Filename]));