eliminate unused parameter warning
diff --git a/include/sync-digest.h b/include/sync-digest.h
index 97d2fd4..d980afb 100644
--- a/include/sync-digest.h
+++ b/include/sync-digest.h
@@ -118,7 +118,7 @@
private:
Digest &
- operator = (Digest &digest) { return *this; }
+ operator = (Digest &digest) { (void)digest; return *this; }
/**
* @brief Add size bytes of buffer to the hash
diff --git a/include/sync-std-name-info.h b/include/sync-std-name-info.h
index 0978b7f..83bbebb 100644
--- a/include/sync-std-name-info.h
+++ b/include/sync-std-name-info.h
@@ -63,7 +63,7 @@
* @brief Disabled default
*/
StdNameInfo () {}
- StdNameInfo& operator = (const StdNameInfo &info) { return *this; }
+ StdNameInfo& operator = (const StdNameInfo &info) { (void)info; return *this; }
StdNameInfo (const std::string &name);
std::string m_name;