From 783404574bc7a30ae6bee655dd99da0aa320543c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 15 Jan 2024 13:32:11 -0800 Subject: =?UTF-8?q?Fix=20warning:=20variable=20=E2=80=98pFfb=E2=80=99=20se?= =?UTF-8?q?t=20but=20not=20used=20[-Wunused-but-set-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alan Coopersmith --- src/ffb_driver.c | 4 ---- 1 file changed, 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; -- cgit v1.2.3