From cfb99bf24bcc2dc4a52beca816438458b2577c52 Mon Sep 17 00:00:00 2001 From: Khaled Ben Amor Date: Wed, 16 Mar 2016 17:28:46 +0100 Subject: [PATCH] Fix compilation error when using CLANG "error" parameter is not used and causes unused parameter error with CLANG. Signed-off-by: Khaled Ben Amor --- base/AlsaCtlPortConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/AlsaCtlPortConfig.cpp b/base/AlsaCtlPortConfig.cpp index 387cd7e..a799a0c 100644 --- a/base/AlsaCtlPortConfig.cpp +++ b/base/AlsaCtlPortConfig.cpp @@ -55,7 +55,7 @@ AlsaCtlPortConfig::AlsaCtlPortConfig(const string &mappingValue, } -bool AlsaCtlPortConfig::receiveFromHW(string &error) +bool AlsaCtlPortConfig::receiveFromHW(string &/*error*/) { blackboardWrite(&_portConfig, sizeof(_portConfig));