summaryrefslogtreecommitdiffstats
path: root/libs/classpath/patches/020-fix-statement-may-fall-through.patch
blob: b31575739c1ba9b80638cdc06dcdea96c713075f (plain)
1
2
3
4
5
6
7
8
9
10
--- a/native/jni/java-math/gnu_java_math_GMP.c
+++ b/native/jni/java-math/gnu_java_math_GMP.c
@@ -1132,6 +1132,7 @@
         break;
       case 1:
         res = mpz_popcount (_this);
+      __attribute__((fallthrough));
       default:
         JCL_ThrowException (env, "java/lang/Error",
                             "Unexpected sign value for a native MPI");