Fix outright compiler error in jassimp.cpp

pull/423/head
enkore 2014-12-06 15:52:44 +01:00
parent 6829af0dd6
commit 6b4cbeea40
2 changed files with 3 additions and 3 deletions

View File

@ -1379,6 +1379,7 @@ JNIEXPORT jobject JNICALL Java_jassimp_Jassimp_aiImportFile
goto end; goto end;
error: error:
{
jclass exception = env->FindClass("java/io/IOException"); jclass exception = env->FindClass("java/io/IOException");
if (NULL == exception) if (NULL == exception)
@ -1390,6 +1391,7 @@ error:
env->ThrowNew(exception, aiGetErrorString()); env->ThrowNew(exception, aiGetErrorString());
lprintf("problem detected\n"); lprintf("problem detected\n");
}
end: end:
/* /*

View File

@ -7,8 +7,6 @@
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* Inaccessible static: BUILTIN */
/* Inaccessible static: s_wrapperProvider */
/* /*
* Class: jassimp_Jassimp * Class: jassimp_Jassimp
* Method: getErrorString * Method: getErrorString