diff options
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 | { |