[libbluray-devel] Silence "warning: this statement may fall through"
Petri Hintukainen
git at videolan.org
Wed Jul 19 09:15:01 CEST 2017
libbluray | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Jul 19 09:59:09 2017 +0300| [da93e258bbe10a9dcd69e63eab448d8e237253a5] | committer: Petri Hintukainen
Silence "warning: this statement may fall through"
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=da93e258bbe10a9dcd69e63eab448d8e237253a5
---
src/libbluray/bluray.c | 1 +
src/libbluray/decoders/graphics_controller.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 4b60b2a1..083a77ca 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -905,6 +905,7 @@ static void _check_bdj(BLURAY *bd)
/* Check if jvm + jar can be loaded ? */
switch (bdj_jvm_available(&bd->bdjstorage)) {
case 2: bd->disc_info.bdj_handled = 1;
+ /* fall thru */
case 1: bd->disc_info.libjvm_detected = 1;
default:;
}
diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index a53486bd..50ebe91d 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -2003,8 +2003,9 @@ int gc_run(GRAPHICS_CONTROLLER *gc, gc_ctrl_e ctrl, uint32_t param, GC_NAV_CMDS
result = _user_input(gc, param, cmds);
break;
}
+ /* BD_VK_POPUP => GC_CTRL_POPUP */
param = !gc->popup_visible;
- /* fall thru (BD_VK_POPUP) */
+ /* fall thru */
case GC_CTRL_POPUP:
if (gc->igs->ics->interactive_composition.ui_model != IG_UI_MODEL_POPUP) {
More information about the libbluray-devel
mailing list