Fix one and hide the other warnings from core/jni
Most of the warnings are unused parameter from skia functions. Change-Id: I9df57718d117c26b96163f751ccb056ca86ac072
This commit is contained in:
@@ -80,7 +80,7 @@ static int readNetworkStatsDetail(JNIEnv* env, jclass clazz, jobject stats,
|
||||
stats_line s;
|
||||
int64_t rawTag;
|
||||
if (sscanf(buffer, "%d %31s 0x%llx %u %u %llu %llu %llu %llu", &s.idx,
|
||||
&s.iface, &rawTag, &s.uid, &s.set, &s.rxBytes, &s.rxPackets,
|
||||
s.iface, &rawTag, &s.uid, &s.set, &s.rxBytes, &s.rxPackets,
|
||||
&s.txBytes, &s.txPackets) == 9) {
|
||||
if (s.idx != lastIdx + 1) {
|
||||
ALOGE("inconsistent idx=%d after lastIdx=%d", s.idx, lastIdx);
|
||||
|
||||
Reference in New Issue
Block a user