diff options
author | Charles Krinke | 2008-03-21 17:06:31 +0000 |
---|---|---|
committer | Charles Krinke | 2008-03-21 17:06:31 +0000 |
commit | 1e452dacf4186dedc004a46fe3855c94aeb7341f (patch) | |
tree | 76dcdaf32a80b575f3d2df0b5e52e68708aa9b44 /OpenSim/Region/Environment/Modules | |
parent | Comment out "m_randomizeWater" and "ms" until we use them later. (diff) | |
download | opensim-SC_OLD-1e452dacf4186dedc004a46fe3855c94aeb7341f.zip opensim-SC_OLD-1e452dacf4186dedc004a46fe3855c94aeb7341f.tar.gz opensim-SC_OLD-1e452dacf4186dedc004a46fe3855c94aeb7341f.tar.bz2 opensim-SC_OLD-1e452dacf4186dedc004a46fe3855c94aeb7341f.tar.xz |
Comment out an unused 'str' and add a WriteLine to use
an "Exception e" with e.ToString() to eliminate 2 warnings.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/VectorRenderModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/VectorRenderModule.cs b/OpenSim/Region/Environment/Modules/VectorRenderModule.cs index c0a00c9..9c91b25 100644 --- a/OpenSim/Region/Environment/Modules/VectorRenderModule.cs +++ b/OpenSim/Region/Environment/Modules/VectorRenderModule.cs | |||
@@ -89,6 +89,8 @@ namespace OpenSim.Region.Environment.Modules | |||
89 | size = Convert.ToInt32(extraParams); | 89 | size = Convert.ToInt32(extraParams); |
90 | } catch (Exception e) { | 90 | } catch (Exception e) { |
91 | 91 | ||
92 | //Ckrinke: Add a WriteLine to remove the warning about 'e' defined but not used | ||
93 | Console.WriteLine("Problem with Draw. Please verify parameters." + e.ToString()); | ||
92 | } | 94 | } |
93 | 95 | ||
94 | if ((size < 128) || (size > 1024)) | 96 | if ((size < 128) || (size > 1024)) |
@@ -306,7 +308,8 @@ namespace OpenSim.Region.Environment.Modules | |||
306 | private Bitmap ImageHttpRequest(string url) | 308 | private Bitmap ImageHttpRequest(string url) |
307 | { | 309 | { |
308 | WebRequest request = HttpWebRequest.Create(url); | 310 | WebRequest request = HttpWebRequest.Create(url); |
309 | Stream str = null; | 311 | //Ckrinke: Comment out for now as 'str' is unused. Bring it back into play later when it is used. |
312 | //Ckrinke Stream str = null; | ||
310 | HttpWebResponse response = (HttpWebResponse)(request).GetResponse(); | 313 | HttpWebResponse response = (HttpWebResponse)(request).GetResponse(); |
311 | if (response.StatusCode == HttpStatusCode.OK) | 314 | if (response.StatusCode == HttpStatusCode.OK) |
312 | { | 315 | { |