aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 13:26:10 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 13:26:10 +0000
commite3f3b182a339aa13b197315600fa4082da490b53 (patch)
tree0b9ed2479c2d8a41ac435974b7936aee6c90de82 /Game/Code/Classes
parent70bedc91540d8464159aa7ddfd2789acefabfe1c (diff)
downloadusdx-e3f3b182a339aa13b197315600fa4082da490b53.tar.gz
usdx-e3f3b182a339aa13b197315600fa4082da490b53.tar.xz
usdx-e3f3b182a339aa13b197315600fa4082da490b53.zip
warning removed
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1239 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/USongs.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas
index fb423ff7..8de78777 100644
--- a/Game/Code/Classes/USongs.pas
+++ b/Game/Code/Classes/USongs.pas
@@ -358,6 +358,9 @@ begin
CompareFunc := CompareByArtist;
sLanguage: // by Language
CompareFunc := CompareByLanguage;
+ else
+ Log.LogCritical('Unsupported comparison', 'TSongs.Sort');
+ Exit; // suppress warning
end; // case
// Note: Do not use TList.Sort() as it uses QuickSort which is instable.