Skip to content

Commit

Permalink
Avoid warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
chirino committed Dec 2, 2013
1 parent c1980ef commit c27b5a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hawtjni-generator/src/main/resources/hawtjni.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jint hawtjni_detach_thread() {
if( JNI_ATTACH_THREAD_LOCAL_KEY ) {
// Don't actually detach.. that will automatically
// happen when the the thread dies.
return 0;
} else {
return (*JVM)->DetachCurrentThread(JVM);
}
Expand Down

0 comments on commit c27b5a0

Please sign in to comment.