summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2022-05-19 14:45:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-05-19 14:45:16 +0000
commit5a81c499a569731e2395f7c8d13c0e0d4e17a2b6 (patch)
tree6b25944c9955b43a1a94dbc7c41c25d273b13d5c
parentdef0fd4b34fcca2c7e8bec79522d36cc3be5b422 (diff)
parent8ce21d95f35b44c9f30b39b8c7a1abb51771ddf5 (diff)
downloaddalvik-5a81c499a569731e2395f7c8d13c0e0d4e17a2b6.tar.gz
Merge "Silence a compiler warning about an unused variable in `hprof-conv`."
-rw-r--r--tools/hprof-conv/HprofConv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hprof-conv/HprofConv.c b/tools/hprof-conv/HprofConv.c
index cc90176f9..c8847c944 100644
--- a/tools/hprof-conv/HprofConv.c
+++ b/tools/hprof-conv/HprofConv.c
@@ -663,7 +663,8 @@ static int filterData(FILE* in, FILE* out, int flags)
unsigned char* buf = ebGetBuffer(pBuf);
unsigned char type;
- unsigned int timestamp, length;
+ unsigned int timestamp ATTRIBUTE_UNUSED;
+ unsigned int length;
type = buf[0];
timestamp = get4BE(buf + 1);