diff options
author | Jeff Ames | 2008-03-25 03:43:24 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-25 03:43:24 +0000 |
commit | a8d9a58dd2e2ec270daa53ac4f94a245c6677224 (patch) | |
tree | d5f977069694df8bdf9f7e55481a7a899f410000 /OpenSim | |
parent | Fix a few compiler warnings. (diff) | |
download | opensim-SC_OLD-a8d9a58dd2e2ec270daa53ac4f94a245c6677224.zip opensim-SC_OLD-a8d9a58dd2e2ec270daa53ac4f94a245c6677224.tar.gz opensim-SC_OLD-a8d9a58dd2e2ec270daa53ac4f94a245c6677224.tar.bz2 opensim-SC_OLD-a8d9a58dd2e2ec270daa53ac4f94a245c6677224.tar.xz |
Fix a couple more warnings.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 10 |
2 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs b/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs index 6dd0fa1..82122fc 100644 --- a/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs +++ b/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs | |||
@@ -35,9 +35,6 @@ namespace OpenSim.Framework.Communications.Limit | |||
35 | /// </summary> | 35 | /// </summary> |
36 | public class RepeatLimitStrategy<TId> : IRequestLimitStrategy<TId> | 36 | public class RepeatLimitStrategy<TId> : IRequestLimitStrategy<TId> |
37 | { | 37 | { |
38 | private static readonly log4net.ILog m_log | ||
39 | = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
40 | |||
41 | /// <summary> | 38 | /// <summary> |
42 | /// Record each asset request that we're notified about. | 39 | /// Record each asset request that we're notified about. |
43 | /// </summary> | 40 | /// </summary> |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 878e7fb..fefa7ac 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -368,11 +368,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
368 | parameters.IncludeDebugInformation = true; | 368 | parameters.IncludeDebugInformation = true; |
369 | 369 | ||
370 | // Add all available assemblies | 370 | // Add all available assemblies |
371 | foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) | 371 | // foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) |
372 | { | 372 | // { |
373 | //Console.WriteLine("Adding assembly: " + asm.Location); | 373 | // Console.WriteLine("Adding assembly: " + asm.Location); |
374 | //parameters.ReferencedAssemblies.Add(asm.Location); | 374 | // parameters.ReferencedAssemblies.Add(asm.Location); |
375 | } | 375 | // } |
376 | 376 | ||
377 | string rootPath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory); | 377 | string rootPath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory); |
378 | string rootPathSE = Path.GetDirectoryName(GetType().Assembly.Location); | 378 | string rootPathSE = Path.GetDirectoryName(GetType().Assembly.Location); |