Fix a couple more warnings.

0.6.0-stable
Jeff Ames 2008-03-25 03:43:24 +00:00
parent a7556af7de
commit a8d9a58dd2
2 changed files with 5 additions and 8 deletions

View File

@ -35,9 +35,6 @@ namespace OpenSim.Framework.Communications.Limit
/// </summary> /// </summary>
public class RepeatLimitStrategy<TId> : IRequestLimitStrategy<TId> public class RepeatLimitStrategy<TId> : IRequestLimitStrategy<TId>
{ {
private static readonly log4net.ILog m_log
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
/// <summary> /// <summary>
/// Record each asset request that we're notified about. /// Record each asset request that we're notified about.
/// </summary> /// </summary>

View File

@ -368,11 +368,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
parameters.IncludeDebugInformation = true; parameters.IncludeDebugInformation = true;
// Add all available assemblies // Add all available assemblies
foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) // foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())
{ // {
// Console.WriteLine("Adding assembly: " + asm.Location); // Console.WriteLine("Adding assembly: " + asm.Location);
// parameters.ReferencedAssemblies.Add(asm.Location); // parameters.ReferencedAssemblies.Add(asm.Location);
} // }
string rootPath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory); string rootPath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory);
string rootPathSE = Path.GetDirectoryName(GetType().Assembly.Location); string rootPathSE = Path.GetDirectoryName(GetType().Assembly.Location);