From 1fa037a0c3cf511c735afd369a440d80ec5b8a67 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 11 Nov 2009 15:56:14 +0000 Subject: minor: remove some mono compiler warnings --- .../Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Framework/AssetLoader') 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 protected static void LoadAsset(AssetBase info, string path) { - bool image = - (info.Type == (sbyte)AssetType.Texture || - info.Type == (sbyte)AssetType.TextureTGA || - info.Type == (sbyte)AssetType.ImageJPEG || - info.Type == (sbyte)AssetType.ImageTGA); +// bool image = +// (info.Type == (sbyte)AssetType.Texture || +// info.Type == (sbyte)AssetType.TextureTGA || +// info.Type == (sbyte)AssetType.ImageJPEG || +// info.Type == (sbyte)AssetType.ImageTGA); FileInfo fInfo = new FileInfo(path); long numBytes = fInfo.Length; -- cgit v1.1