mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-02 21:09: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 {
|
||||
public:
|
||||
SignalHandling(const std::vector<int>& signals = std::vector<int>()) { (void)signals; }
|
||||
SignalHandling(const std::vector<int>& = std::vector<int>()) {}
|
||||
bool init() { return false; }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user