mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
* Cleaning - attempting to get compiler warnings back down to zero.
This commit is contained in:
@@ -40,7 +40,7 @@ namespace OpenSim.Region.Enviorment.Scripting
|
||||
return ".cs";
|
||||
}
|
||||
|
||||
private Dictionary<string,IScript> LoadDotNetScript(ICodeCompiler compiler, string filename)
|
||||
private Dictionary<string,IScript> LoadDotNetScript(CodeDomProvider compiler, string filename)
|
||||
{
|
||||
CompilerParameters compilerParams = new CompilerParameters();
|
||||
CompilerResults compilerResults;
|
||||
@@ -96,7 +96,7 @@ namespace OpenSim.Region.Enviorment.Scripting
|
||||
public Dictionary<string,IScript> compile(string filename)
|
||||
{
|
||||
CSharpCodeProvider csharpProvider = new CSharpCodeProvider();
|
||||
return LoadDotNetScript(csharpProvider.CreateCompiler(), filename);
|
||||
return LoadDotNetScript(csharpProvider, filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user