Proper way to mark a variable unused.

Instead of explicitly void-ing a variable, just make it anonymous.
This commit is contained in:
Andrey Sibiryov 2013-06-26 21:39:28 +04:00
parent 18a7121fb4
commit 9cd89623af

View File

@ -2112,7 +2112,7 @@ private:
class SignalHandling {
public:
SignalHandling(const std::vector<int>& signals = std::vector<int>()) { (void)signals; }
SignalHandling(const std::vector<int>& = std::vector<int>()) {}
bool init() { return false; }
};