eliminate unused parameter warning

This commit is contained in:
Chaoyi Bian committed 2012-06-13 17:15:07 -07:00
1 parent 349388935b
commit b119028dff
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ public:
private:
Digest &
operator = (Digest &digest) { return *this; }
operator = (Digest &digest) { (void)digest; return *this; }
/**
* @brief Add size bytes of buffer to the hash
+1 -1
View File
@@ -63,7 +63,7 @@ private:
* @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;