mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
minor: remove some mono compiler warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user