diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 10:08:23 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 10:08:23 -0800 |
commit | 112b6c11536b3dae1bbcb6e8187e8882ad9db4a5 (patch) | |
tree | 90f3bb499c31beeeded917051cc23dfc075fa299 | |
parent | 89728ce1d6d1623121675a98a179d12aa67f07ac (diff) |
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>
-rw-r--r-- | src/fbdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fbdev.c b/src/fbdev.c index e4f66a2..1f4eb5e 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -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; |