Skip to content

Commit 54e67b4

Browse files
committed
tslib.c: fix uninitialized pointer usage
1 parent f104b63 commit 54e67b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tslib.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ static int xf86TslibControlProc(DeviceIntPtr device, int what)
223223
int i, axiswidth, axisheight;
224224
struct ts_priv *priv;
225225

226-
#ifdef DEBUG
227-
xf86IDrvMsg(pInfo, X_ERROR, "%s\n", __FUNCTION__);
228-
#endif
229226
pInfo = device->public.devicePrivate;
230227
priv = pInfo->private;
231228

229+
#ifdef DEBUG
230+
xf86IDrvMsg(pInfo, X_ERROR, "%s\n", __FUNCTION__);
231+
#endif
232232
switch (what) {
233233
case DEVICE_INIT:
234234
device->public.on = FALSE;

0 commit comments

Comments
 (0)