aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-11-11 15:56:14 +0000
committerJustin Clark-Casey (justincc)2009-11-11 15:56:14 +0000
commit1fa037a0c3cf511c735afd369a440d80ec5b8a67 (patch)
tree094d8d26a1b4c0020d03900024fcf8f731e20767 /OpenSim/Framework
parentadd a ToOmvPrimitive() method to PrimitiveBaseShape (diff)
downloadopensim-SC_OLD-1fa037a0c3cf511c735afd369a440d80ec5b8a67.zip
opensim-SC_OLD-1fa037a0c3cf511c735afd369a440d80ec5b8a67.tar.gz
opensim-SC_OLD-1fa037a0c3cf511c735afd369a440d80ec5b8a67.tar.bz2
opensim-SC_OLD-1fa037a0c3cf511c735afd369a440d80ec5b8a67.tar.xz
minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs10
-rw-r--r--OpenSim/Framework/Capabilities/Caps.cs2
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs
index 9497a2e..6ab1b58 100644
--- a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs
+++ b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs
@@ -63,11 +63,11 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
63 63
64 protected static void LoadAsset(AssetBase info, string path) 64 protected static void LoadAsset(AssetBase info, string path)
65 { 65 {
66 bool image = 66// bool image =
67 (info.Type == (sbyte)AssetType.Texture || 67// (info.Type == (sbyte)AssetType.Texture ||
68 info.Type == (sbyte)AssetType.TextureTGA || 68// info.Type == (sbyte)AssetType.TextureTGA ||
69 info.Type == (sbyte)AssetType.ImageJPEG || 69// info.Type == (sbyte)AssetType.ImageJPEG ||
70 info.Type == (sbyte)AssetType.ImageTGA); 70// info.Type == (sbyte)AssetType.ImageTGA);
71 71
72 FileInfo fInfo = new FileInfo(path); 72 FileInfo fInfo = new FileInfo(path);
73 long numBytes = fInfo.Length; 73 long numBytes = fInfo.Length;
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs
index 72231ca..1f1ac78 100644
--- a/OpenSim/Framework/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Capabilities/Caps.cs
@@ -89,7 +89,7 @@ namespace OpenSim.Framework.Capabilities
89 //private static readonly string m_requestTexture = "0003/"; 89 //private static readonly string m_requestTexture = "0003/";
90 private static readonly string m_notecardUpdatePath = "0004/"; 90 private static readonly string m_notecardUpdatePath = "0004/";
91 private static readonly string m_notecardTaskUpdatePath = "0005/"; 91 private static readonly string m_notecardTaskUpdatePath = "0005/";
92 private static readonly string m_fetchInventoryPath = "0006/"; 92// private static readonly string m_fetchInventoryPath = "0006/";
93 93
94 // The following entries are in a module, however, they are also here so that we don't re-assign 94 // The following entries are in a module, however, they are also here so that we don't re-assign
95 // the path to another cap by mistake. 95 // the path to another cap by mistake.