فهرست منبع

* fcl-db: dbftool: cosmetic/silence warning

git-svn-id: trunk@29064 -
reiniero 10 سال پیش
والد
کامیت
ce54992e07
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      packages/fcl-db/examples/dbftool.lpr

+ 2 - 1
packages/fcl-db/examples/dbftool.lpr

@@ -61,6 +61,7 @@ type
     i: integer;
     i: integer;
   begin
   begin
     // Get current working directory (need not be application directory):
     // Get current working directory (need not be application directory):
+    CurDir := '';
     GetDir(0,CurDir);
     GetDir(0,CurDir);
 
 
     NewDBF := TDBF.Create(nil);
     NewDBF := TDBF.Create(nil);
@@ -228,7 +229,7 @@ type
     end;
     end;
   end;
   end;
 
 
-  // Gets list of all .dbf files in a directory and its subdirectories.
+  // Gets list of all .dbf files in current directory and its subdirectories.
   procedure GetDBFList(Results: TStringList);
   procedure GetDBFList(Results: TStringList);
   var
   var
     r: TSearchRec;
     r: TSearchRec;