diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-07 09:23:41 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 10:08:31 -0800 |
commit | 7bccdf437363c99f37818a6ea04b4278275ef104 (patch) | |
tree | fa1288f5642e40b9d99447a9a46840981b5bb523 | |
parent | 112b6c11536b3dae1bbcb6e8187e8882ad9db4a5 (diff) |
Fix warning: unused variable ‘scrnIdx’ [-Wunused-variable]
fbdev.c: In function ‘FBDevDGASetMode’:
fbdev.c:1145:9: warning: unused variable ‘scrnIdx’ [-Wunused-variable]
1145 | int scrnIdx = pScrn->pScreen->myNum;
| ^~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/fbdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fbdev.c b/src/fbdev.c index 1f4eb5e..59cc3e0 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -1141,7 +1141,6 @@ static Bool FBDevDGASetMode(ScrnInfoPtr pScrn, DGAModePtr pDGAMode) { DisplayModePtr pMode; - int scrnIdx = pScrn->pScreen->myNum; int frameX0, frameY0; if (pDGAMode) { |