Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 129e19cb authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix build warnings

Change-Id: I334e0a6e018bb1067c90e050cf3583c1057aacd9
parent 81754949
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -434,12 +434,12 @@ static jint android_content_AssetManager_addAssetPath(JNIEnv* env, jobject clazz
{
    ScopedUtfChars path8(env, path);
    if (path8.c_str() == NULL) {
        return NULL;
        return 0;
    }

    AssetManager* am = assetManagerForJavaObject(env, clazz);
    if (am == NULL) {
        return JNI_FALSE;
        return 0;
    }

    void* cookie;
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ static jlong android_os_Process_getFreeMemory(JNIEnv* env, jobject clazz)
    jlong mem = 0;

    static const char* const sums[] = { "MemFree:", "Cached:", NULL };
    static const int sumsLen[] = { strlen("MemFree:"), strlen("Cached:"), NULL };
    static const int sumsLen[] = { strlen("MemFree:"), strlen("Cached:"), 0 };

    char* p = buffer;
    while (*p && numFound < 2) {