phillbush / xmenu

a x11 menu utility
Other
296 stars 26 forks source link

While compiling Iam getting this warnings #48

Closed viyoriya closed 1 year ago

viyoriya commented 1 year ago

xmenu.c:388:39: warning: this statement may fall through [-Wimplicit-fallthrough=] 388 | passclickflag = 1; | ~~~~^ xmenu.c:390:17: note: here 390 | case 'x':


Thanks for the awesome program :)

phillbush commented 1 year ago

Hi, This is just gcc being pedantic on the comment that disables this warning. The comment should be FALLTHROUGH, but I have written PASSTHROUGH there. Since just editing a command fixes this issue, there's no actual error or anything you should be worried about.