diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-08 16:50:16 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-08 16:51:16 -0800 |
commit | ad829f3e14ce8702551329a5c9b1deda98c1f386 (patch) | |
tree | 04b58c30d12cfb05d6715b0af6bb85916ac0dbac | |
parent | b10d7736ae7f7b3f8a6058b2d5e8d9b60c4d105f (diff) |
NEOPreInit: Handle -Wimplicit-fallthrough warning
neo_driver.c: In function ‘NEOPreInit’:
neo_driver.c:892:9: warning: this statement may fall through
[-Wimplicit-fallthrough=]
if (nPtr->NeoChipset != NM2070)
^
neo_driver.c:894:2: note: here
default:
^~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/neo_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/neo_driver.c b/src/neo_driver.c index e145d66..9154326 100644 --- a/src/neo_driver.c +++ b/src/neo_driver.c @@ -891,6 +891,7 @@ NEOPreInit(ScrnInfoPtr pScrn, int flags) case 24: if (nPtr->NeoChipset != NM2070) break; + /* FALLTHROUGH */ default: xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Given depth (%d) is not supported by this driver\n", |