diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 13:32:11 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-17 10:55:27 -0800 |
commit | 783404574bc7a30ae6bee655dd99da0aa320543c (patch) | |
tree | 466dfc92811100081d6ee978114483e62c1a8491 | |
parent | a79f7147536c6a95d74c2339dab044fb8e5edf27 (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.c | 4 |
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; |