IDE/lazbuild: packages: hide warnings about unused units in package dummy source

git-svn-id: trunk@51771 -
This commit is contained in:
mattias 2016-03-01 14:49:17 +00:00
parent 70b9a404bb
commit d4ccb98bf9

View File

@ -5100,6 +5100,7 @@ begin
// leave the unit case the same as the package name (e.g: package name LazReport, unit name lazreport) // leave the unit case the same as the package name (e.g: package name LazReport, unit name lazreport)
Src:='unit '+ PkgUnitName +';'+e Src:='unit '+ PkgUnitName +';'+e
+e +e
+'{$warn 5023 off : no warning about unused units}'+e
+'interface'+e +'interface'+e
+e; +e;
Src:=BeautifyCodeOptions.BeautifyStatement(Src,0); Src:=BeautifyCodeOptions.BeautifyStatement(Src,0);