summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 13:58:31 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-17 11:03:36 -0800
commit40110e1e4c442a83ca24ef1239551f0cdf03ea20 (patch)
treee27926900f6f531de816978cc139628c08b6a3c6
parent79d488e49eb4db2797c6ab8818e7e694fa2e754f (diff)
Fix warning: variable ‘pTcx’ set but not used [-Wunused-but-set-variable]HEADmaster
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/tcx_driver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tcx_driver.c b/src/tcx_driver.c
index 193a810..f347d8e 100644
--- a/src/tcx_driver.c
+++ b/src/tcx_driver.c
@@ -160,13 +160,9 @@ TCXGetRec(ScrnInfoPtr pScrn)
static void
TCXFreeRec(ScrnInfoPtr pScrn)
{
- TcxPtr pTcx;
-
if (pScrn->driverPrivate == NULL)
return;
- pTcx = GET_TCX_FROM_SCRN(pScrn);
-
free(pScrn->driverPrivate);
pScrn->driverPrivate = NULL;