Merge pull request #451 from dragos-oancea/mod_java-val-never-read

[mod_java] scan-build: Value stored to 'status' is never read - create_java_vm()
This commit is contained in:
Andrey Volk 2020-02-28 00:38:38 +04:00 committed by GitHub
commit 04db956c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -323,7 +323,6 @@ static switch_status_t create_java_vm(JavaVMOption *options, int optionCount, vm
{ {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unable to find 'org.freeswitch.Launcher' class!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unable to find 'org.freeswitch.Launcher' class!\n");
(*env)->ExceptionDescribe(env); (*env)->ExceptionDescribe(env);
status = SWITCH_STATUS_FALSE;
} }
// store a global reference for use in the launch_java() function // store a global reference for use in the launch_java() function