diff options
author | Justin Clark-Casey (justincc) | 2009-11-11 15:56:14 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-11 15:56:14 +0000 |
commit | 1fa037a0c3cf511c735afd369a440d80ec5b8a67 (patch) | |
tree | 094d8d26a1b4c0020d03900024fcf8f731e20767 /OpenSim/Framework/AssetLoader | |
parent | add a ToOmvPrimitive() method to PrimitiveBaseShape (diff) | |
download | opensim-SC-1fa037a0c3cf511c735afd369a440d80ec5b8a67.zip opensim-SC-1fa037a0c3cf511c735afd369a440d80ec5b8a67.tar.gz opensim-SC-1fa037a0c3cf511c735afd369a440d80ec5b8a67.tar.bz2 opensim-SC-1fa037a0c3cf511c735afd369a440d80ec5b8a67.tar.xz |
minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Framework/AssetLoader')
-rw-r--r-- | OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | 10 |
1 files changed, 5 insertions, 5 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; |