Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Commit

Permalink
Avoid unused variable warning when compiling djinni_support.cpp (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Warta authored and artwyman committed Aug 16, 2017
1 parent b55ac10 commit e54dab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support-lib/jni/djinni_support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void jniInit(JavaVM * jvm) {
for (const auto & initializer : JniClassInitializer::get_all()) {
initializer();
}
} catch (const std::exception & e) {
} catch (const std::exception &) {
// Default exception handling only, since non-default might not be safe if init
// is incomplete.
jniDefaultSetPendingFromCurrent(jniGetThreadEnv(), __func__);
Expand Down

0 comments on commit e54dab6

Please sign in to comment.