aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/base/UCovers.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--unicode/src/base/UCovers.pas6
1 files changed, 2 insertions, 4 deletions
diff --git a/unicode/src/base/UCovers.pas b/unicode/src/base/UCovers.pas
index 228a0783..0dbe672a 100644
--- a/unicode/src/base/UCovers.pas
+++ b/unicode/src/base/UCovers.pas
@@ -211,11 +211,9 @@ end;
procedure TCoverDatabase.Open();
var
Version: integer;
- Filename, TmpPath: IPath;
+ Filename: IPath;
begin
- // TODO: remove fpc refcount workaround
- TmpPath := Platform.GetGameUserPath();
- Filename := TmpPath.Append(COVERDB_FILENAME);
+ Filename := Platform.GetGameUserPath().Append(COVERDB_FILENAME);
DB := TSQLiteDatabase.Create(Filename.ToUTF8());
Version := GetVersion();