Fix warning: statement with no effect [-Wunused-value]

fbdev.c: In function ‘FBDevProbe’:
fbdev.c:355:21: warning: statement with no effect [-Wunused-value]
  355 |                     0;
      |                     ^

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2024-01-15 10:08:23 -08:00
parent 89728ce1d6
commit 112b6c1153

View File

@@ -352,8 +352,7 @@ FBDevProbe(DriverPtr drv, int flags)
isIsa = TRUE;
else
#endif
0;
{ /* empty body for else statements in prior #ifdefs */ }
}
if (fbdevHWProbe(NULL,dev,NULL)) {
pScrn = NULL;