mirror of
https://github.com/X11Libre/xf86-video-fbdev.git
synced 2026-04-14 11:05:23 +00:00
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>
This commit is contained in:
@@ -1141,7 +1141,6 @@ static Bool
|
||||
FBDevDGASetMode(ScrnInfoPtr pScrn, DGAModePtr pDGAMode)
|
||||
{
|
||||
DisplayModePtr pMode;
|
||||
int scrnIdx = pScrn->pScreen->myNum;
|
||||
int frameX0, frameY0;
|
||||
|
||||
if (pDGAMode) {
|
||||
|
||||
Reference in New Issue
Block a user