diff options
author | Justin Clarke Casey | 2009-07-15 20:49:58 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-07-15 20:49:58 +0000 |
commit | 5815162d7ef1df861de082cee9e99cec14805572 (patch) | |
tree | 1ea8e534822d108da56788b42f07d021e515d22a /OpenSim/Framework | |
parent | * Change server prompt from B.U.S.T to R.O.B.U.S.T, as per mailing list (diff) | |
download | opensim-SC-5815162d7ef1df861de082cee9e99cec14805572.zip opensim-SC-5815162d7ef1df861de082cee9e99cec14805572.tar.gz opensim-SC-5815162d7ef1df861de082cee9e99cec14805572.tar.bz2 opensim-SC-5815162d7ef1df861de082cee9e99cec14805572.tar.xz |
minor: remove some mono compiler warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs | 3 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 8f9b551..2f7faff 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -427,7 +427,7 @@ namespace OpenSim.Framework | |||
427 | if (name == String.Empty) | 427 | if (name == String.Empty) |
428 | throw new Exception("Cannot interactively create region with no name"); | 428 | throw new Exception("Cannot interactively create region with no name"); |
429 | 429 | ||
430 | IConfig newRegion = source.AddConfig(name); | 430 | source.AddConfig(name); |
431 | 431 | ||
432 | creatingNew = true; | 432 | creatingNew = true; |
433 | } | 433 | } |
@@ -437,7 +437,7 @@ namespace OpenSim.Framework | |||
437 | 437 | ||
438 | if (source.Configs[name] == null) | 438 | if (source.Configs[name] == null) |
439 | { | 439 | { |
440 | IConfig newRegion = source.AddConfig(name); | 440 | source.AddConfig(name); |
441 | 441 | ||
442 | creatingNew = true; | 442 | creatingNew = true; |
443 | } | 443 | } |
diff --git a/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs b/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs index fed4707..1026248 100644 --- a/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs +++ b/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs | |||
@@ -93,10 +93,9 @@ namespace OpenSim.Framework.Servers.Tests | |||
93 | [Test] | 93 | [Test] |
94 | public void TestHandleFetchMissingAsset() | 94 | public void TestHandleFetchMissingAsset() |
95 | { | 95 | { |
96 | IAssetCache assetCache = new TestAssetCache(); | ||
97 | CachedGetAssetStreamHandler handler; | 96 | CachedGetAssetStreamHandler handler; |
98 | OSHttpResponse response; | 97 | OSHttpResponse response; |
99 | AssetBase asset = CreateTestEnvironment(out handler, out response); | 98 | CreateTestEnvironment(out handler, out response); |
100 | 99 | ||
101 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler, response); | 100 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler, response); |
102 | } | 101 | } |
diff --git a/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs b/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs index afb4a65..35da73f 100644 --- a/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs +++ b/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs | |||
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Servers.Tests | |||
96 | { | 96 | { |
97 | GetAssetStreamHandler handler; | 97 | GetAssetStreamHandler handler; |
98 | OSHttpResponse response; | 98 | OSHttpResponse response; |
99 | AssetBase asset = CreateTestEnvironment(out handler, out response); | 99 | CreateTestEnvironment(out handler, out response); |
100 | 100 | ||
101 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler, response); | 101 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler, response); |
102 | } | 102 | } |