Commit a421c1db authored by Max Kellermann's avatar Max Kellermann

notify: use C++11 initializer

parent 7ec70792
...@@ -26,12 +26,7 @@ ...@@ -26,12 +26,7 @@
struct notify { struct notify {
Mutex mutex; Mutex mutex;
Cond cond; Cond cond;
bool pending; bool pending = false;
#ifdef __GLIBC__
constexpr
#endif
notify():pending(false) {}
/** /**
* Wait for a notification. Return immediately if we have already * Wait for a notification. Return immediately if we have already
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment