summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-10-25 15:37:44 +0100
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-10-25 15:37:44 +0100
commit01ee4b4dbd188c1e3db0afffbb264c609cf61e2e (patch)
treee464d4c61d2945f4a35037d0441f890069c35595 /src/corelib/x11
parent1b9227f654106d61a1f8a61aabbcdbf2715a7ea8 (diff)
downloadfpGUI-01ee4b4dbd188c1e3db0afffbb264c609cf61e2e.tar.xz
Fixes compiler hints about unused local variables.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/fpg_x11.pas12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 77b61862..c430788a 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -1052,12 +1052,8 @@ var
child: TWindow;
prevchild: TWindow;
- ret_root: TfpgWinHandle;
ret_child: TfpgWinHandle;
- root_x, root_y: integer;
- child_x, child_y: integer;
- s: string;
i: integer;
lTargetWinHandle: TWindow;
w: TfpgX11Window;
@@ -1065,7 +1061,6 @@ var
wg2: TfpgWidget;
swg: TfpgWidget;
msgp: TfpgMessageParams;
- lDragEnterEvent: TfpgDragEnterEvent;
lDropAction: TfpgDropAction;
lAccept: Boolean;
lMimeChoice: TfpgString;
@@ -3399,8 +3394,6 @@ end;
procedure TfpgX11Drag.Dragging(ev: TXEvent);
var
- dx, dy: cint;
- child: TWindow;
lTarget: TWindow;
begin
lTarget := FindWindow(ev.xmotion.root, ev.xmotion.x_root, ev.xmotion.y_root);
@@ -3436,8 +3429,7 @@ function TfpgX11Drag.IsDNDAware(win: TWindow): boolean;
var
actualtype: TAtom;
actualformat: cint;
- count, remaining, dummy: culong;
- s: TfpgString;
+ count, remaining: culong;
data: PChar;
lversion: culong;
begin
@@ -3490,8 +3482,6 @@ procedure TfpgX11Drag.SendDNDEnter(ATarget: TWindow);
var
xev: TXEvent;
i, n: integer;
- s: PChar;
- sl: TStrings;
begin
xev.xany._type := X.ClientMessage;
xev.xany.display := xapplication.Display;