소스 검색

rtl: clean up

mattias 6 년 전
부모
커밋
6c0a7e59d1
2개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 7
      packages/fcl-db/jsondataset.pas
  2. 1 1
      packages/rtl/webgl.pas

+ 1 - 7
packages/fcl-db/jsondataset.pas

@@ -518,11 +518,6 @@ begin
 end;
 
 procedure TSortedJSONIndex.CreateComparer(aIndex: TJSONIndexDef);
-
-Var
-  L : TFPList;
-  I : Integer;
-
 begin
   FreeAndNil(FComparer);
   FComparer:=TRecordComparer.Create(Dataset,aindex);
@@ -1415,7 +1410,7 @@ end;
 procedure TBaseJSONDataSet.InternalPost;
 
 Var
-  I,OldC,NewCurrent,Idx : integer;
+  I,NewCurrent,Idx : integer;
   B : TBookmark;
 
 begin
@@ -1742,7 +1737,6 @@ function TBaseJSONDataSet.Lookup(const KeyFields: string; const KeyValues: JSVal
 
 Var
   RI,I : Integer;
-  BM : TBookMark;
   l : TFPList;
   Vals : TJSValueDynArray;
 

+ 1 - 1
packages/rtl/webgl.pas

@@ -6,7 +6,7 @@ Unit webgl;
 
 interface
 
-uses SysUtils, JS,web;
+uses JS, Web;
 
 {
   Automatically generated file by TWebIDLToPas on 2018-06-23 15:31:57