[Libreoffice-commits] core.git: jurt/source
Stephan Bergmann
sbergman at redhat.com
Thu Jan 26 13:08:27 UTC 2017
jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8af9286632ca2e2be4326e73fbaf233e3b422959
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 26 14:07:11 2017 +0100
-Werror=implicit-fallthrough= (GCC 7)
Change-Id: I703a5f19536b08a87f2282a278218d0fcecfb515
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 b187bd9..5024274c 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:
More information about the Libreoffice-commits
mailing list