mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-20 07:57:42 +01:00
Clean up more cipher code and make it -Wall + -Werror clean
This commit is contained in:
@@ -53,5 +53,9 @@ Java_com_velocitypowered_natives_compression_NativeZlibInflate_process(JNIEnv *e
|
||||
// These cases are the same for us. We expect the full uncompressed size to be known.
|
||||
throwException(env, "java/util/zip/DataFormatException", "uncompressed size is inaccurate");
|
||||
return JNI_FALSE;
|
||||
default:
|
||||
// Unhandled case
|
||||
throwException(env, "java/util/zip/DataFormatException", "unknown libdeflate return code");
|
||||
return JNI_FALSE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user