summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 13:32:11 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-17 10:55:27 -0800
commit783404574bc7a30ae6bee655dd99da0aa320543c (patch)
tree466dfc92811100081d6ee978114483e62c1a8491
parenta79f7147536c6a95d74c2339dab044fb8e5edf27 (diff)
Fix warning: variable ‘pFfb’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/ffb_driver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ffb_driver.c b/src/ffb_driver.c
index b49f146..5750600 100644
--- a/src/ffb_driver.c
+++ b/src/ffb_driver.c
@@ -164,13 +164,9 @@ FFBGetRec(ScrnInfoPtr pScrn)
static void
FFBFreeRec(ScrnInfoPtr pScrn)
{
- FFBPtr pFfb;
-
if (pScrn->driverPrivate == NULL)
return;
- pFfb = GET_FFB_FROM_SCRN(pScrn);
-
free(pScrn->driverPrivate);
pScrn->driverPrivate = NULL;