mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Removed unnecessary assignments
This commit is contained in:
parent
4b277c2c20
commit
a22e746bc3
23 changed files with 26 additions and 73 deletions
|
@ -880,7 +880,6 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_setup(JNIEnv *env, jo
|
|||
|
||||
const char **cmdline = NULL;
|
||||
int cmdlen = 0;
|
||||
bool use_apk_expansion = false;
|
||||
if (p_cmdline) {
|
||||
cmdlen = env->GetArrayLength(p_cmdline);
|
||||
if (cmdlen) {
|
||||
|
@ -891,9 +890,6 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_setup(JNIEnv *env, jo
|
|||
|
||||
jstring string = (jstring)env->GetObjectArrayElement(p_cmdline, i);
|
||||
const char *rawString = env->GetStringUTFChars(string, 0);
|
||||
if (rawString && strcmp(rawString, "--main-pack") == 0) {
|
||||
use_apk_expansion = true;
|
||||
}
|
||||
|
||||
cmdline[i] = rawString;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue