OSDN Git Service

Fix clang warnings on unused variable, mismatched tag, print format.
authorChih-Hung Hsieh <chh@google.com>
Wed, 6 May 2015 21:42:04 +0000 (14:42 -0700)
committerChih-Hung Hsieh <chh@google.com>
Thu, 7 May 2015 19:30:13 +0000 (12:30 -0700)
BUG: 20890093
Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373

libs/hwui/renderthread/RenderProxy.cpp
media/jni/android_media_MediaSync.h
rs/jni/android_renderscript_RenderScript.cpp

index c643e1d..17e47b9 100644 (file)
@@ -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;
index fa5e5e0..5823057 100644 (file)
@@ -26,7 +26,7 @@ namespace android {
 
 struct AudioPlaybackRate;
 class AudioTrack;
-struct IGraphicBufferProducer;
+class IGraphicBufferProducer;
 struct MediaClock;
 class MediaSync;
 
index 58d0fce..a49fb76 100644 (file)
@@ -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;