aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UDataBase.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 11:43:41 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-08 11:43:41 +0000
commita4de5895a4cb1c3bf06948c27af50b6d27de306e (patch)
tree098c336cf4ec45d52f4b09d7f57978e4cd2d6f26 /Game/Code/Classes/UDataBase.pas
parent887199a1ed8727b1968dd4cfe11c3c7311f3f311 (diff)
downloadusdx-a4de5895a4cb1c3bf06948c27af50b6d27de306e.tar.gz
usdx-a4de5895a4cb1c3bf06948c27af50b6d27de306e.tar.xz
usdx-a4de5895a4cb1c3bf06948c27af50b6d27de306e.zip
somw warnings removed
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1231 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UDataBase.pas')
-rw-r--r--Game/Code/Classes/UDataBase.pas5
1 files changed, 4 insertions, 1 deletions
diff --git a/Game/Code/Classes/UDataBase.pas b/Game/Code/Classes/UDataBase.pas
index ff97b739..cd315df3 100644
--- a/Game/Code/Classes/UDataBase.pas
+++ b/Game/Code/Classes/UDataBase.pas
@@ -401,6 +401,7 @@ begin
end;
Result := TList.Create;
+ Stat := nil;
// Copy result to stats array
while not TableData.EOF do
@@ -441,7 +442,9 @@ begin
ArtistName := UTF8Decode(TableData.Fields[0]);
TimesSungTot := TableData.FieldAsInteger(1);
end;
- end;
+ end
+ else
+ Log.LogCritical('Unknown stat-type', 'TDataBaseSystem.GetStats');
end;
Stat.Typ := Typ;