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

Commit 9eb9dd32 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix clang warnings on unused variable, mismatched tag, print format.

BUG: 20890093
Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
parent dc9b2dfa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -353,7 +353,6 @@ CREATE_BRIDGE2(overrideProperty, const char* name, const char* value) {
}

void RenderProxy::overrideProperty(const char* name, const char* value) {
    RenderThread& thread = RenderThread::getInstance();
    SETUP_TASK(overrideProperty);
    args->name = name;
    args->value = value;
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ namespace android {

struct AudioPlaybackRate;
class AudioTrack;
struct IGraphicBufferProducer;
class IGraphicBufferProducer;
struct MediaClock;
class MediaSync;

+1 −1
Original line number Diff line number Diff line
@@ -1857,7 +1857,7 @@ nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot,
               jintArray limits)
{
    if (kLogApi) {
        ALOGD("nScriptForEach, con(%p), s(%p), slot(%i) ains(%p) aout(%lli)", (RsContext)con, (void *)script, slot, ains, aout);
        ALOGD("nScriptForEach, con(%p), s(%p), slot(%i) ains(%p) aout(%" PRId64 ")", (RsContext)con, (void *)script, slot, ains, aout);
    }

    jint   in_len = 0;