From 00f471711684903fd747e7871edf437ca54ed397 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Fri, 30 Sep 2016 14:40:45 -0700 Subject: hidl-gen: Fix warnings for unused parameters. Test: `mma` does not have warnings on unused paramters on GraphAll.cpp. Change-Id: Ib4ddd38c34f1de5aef1cdefdfa0539840fb44a8e --- VectorType.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'VectorType.cpp') diff --git a/VectorType.cpp b/VectorType.cpp index 8bf3ede2..b7bebe43 100644 --- a/VectorType.cpp +++ b/VectorType.cpp @@ -248,6 +248,11 @@ void VectorType::emitResolveReferencesEmbedded( parcelObjIsPointer, isReader, mode, "", ""); } +bool VectorType::useParentInEmitResolveReferencesEmbedded() const { + // parentName and offsetText is not used in emitResolveReferencesEmbedded + return false; +} + void VectorType::emitResolveReferencesEmbeddedHelper( Formatter &out, size_t depth, -- cgit v1.2.3