summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 14:07:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 14:07:41 +0100
commit8af9286632ca2e2be4326e73fbaf233e3b422959 (patch)
treeddeebf9e1a4cfa7bd504bf8a91568f29d9f2ef73 /jurt
parente57ca02849c3d87142ff5ff9099a212e72b8139c (diff)
-Werror=implicit-fallthrough= (GCC 7)
Change-Id: I703a5f19536b08a87f2282a278218d0fcecfb515
Diffstat (limited to 'jurt')
-rw-r--r--jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
index b187bd9bb61d..5024274cb521 100644
--- a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
+++ b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
@@ -223,10 +223,13 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_createJNI
case CREATED:
osl_closePipe(npipe);
osl_releasePipe(npipe);
+ /* fall through */
case GOTNAME:
rtl_uString_release(pname);
+ /* fall through */
case INMONITOR:
(*env)->MonitorExit(env, obj_this);
+ /* fall through */
case START:
osl_freeSecurityHandle(psec);
default:
@@ -530,6 +533,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_writeJNI
{
case GOTBUFFER:
(*env)->ReleaseByteArrayElements(env, buffer, nbuff, JNI_ABORT);
+ /* fall through */
case INMONITOR:
(*env)->MonitorExit(env, obj_this);
case START: