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

BUG: 20890093
Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
This commit is contained in:
Chih-Hung Hsieh
2015-05-06 14:42:04 -07:00
parent dc9b2dfae2
commit 9eb9dd326a
3 changed files with 2 additions and 3 deletions

View 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;

View File

@@ -26,7 +26,7 @@ namespace android {
struct AudioPlaybackRate;
class AudioTrack;
struct IGraphicBufferProducer;
class IGraphicBufferProducer;
struct MediaClock;
class MediaSync;

View 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;