mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-06 14:59:34 +00:00
Proper way to mark a variable unused.
Instead of explicitly void-ing a variable, just make it anonymous.
This commit is contained in:
parent
18a7121fb4
commit
9cd89623af
@ -2112,7 +2112,7 @@ private:
|
|||||||
|
|
||||||
class SignalHandling {
|
class SignalHandling {
|
||||||
public:
|
public:
|
||||||
SignalHandling(const std::vector<int>& signals = std::vector<int>()) { (void)signals; }
|
SignalHandling(const std::vector<int>& = std::vector<int>()) {}
|
||||||
bool init() { return false; }
|
bool init() { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user