IVGCVSW-2779 Fix Android Q build
authorMatteo Martincigh <matteo.martincigh@arm.com>
Mon, 17 Jun 2019 12:25:18 +0000 (13:25 +0100)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Mon, 17 Jun 2019 14:28:43 +0000 (14:28 +0000)
 * Removed names of unused variables, as they cause the Android Q
   build to fail

Change-Id: I4b091d6af05a67ce0aa4fcde3c5048a4a75798fc
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
include/armnn/LayerVisitorBase.hpp

index f1abab5..b4a2ac7 100644 (file)
@@ -17,7 +17,7 @@ struct VisitorThrowingPolicy
 
 struct VisitorNoThrowPolicy
 {
-    static void Apply(const std::string& unusedMessage = "") {}
+    static void Apply(const std::string&) {}
 };
 
 // Visitor base class with empty implementations.
@@ -136,7 +136,7 @@ public:
                                  const char*) override { DefaultPolicy::Apply(__func__); }
 
     void VisitOutputLayer(const IConnectableLayer*,
-                          LayerBindingId id,
+                          LayerBindingId,
                           const char*) override { DefaultPolicy::Apply(__func__); }
 
     void VisitPadLayer(const IConnectableLayer*,