summaryrefslogtreecommitdiff
path: root/src/semaphore.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:59:00 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:59:00 +0100
commit0fa481dabf620181c852f43923a3c4b049294ab4 (patch)
treedd4c7763ebec771f4407ac07f8f0cb1f420737fb /src/semaphore.h
parent03ee8f797ddf8ba4701e394998a28aa7ee5c7ffb (diff)
Fix numeric limits and uninitialised warnings.
Diffstat (limited to 'src/semaphore.h')
-rw-r--r--src/semaphore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/semaphore.h b/src/semaphore.h
index 7e39f5a..ed284de 100644
--- a/src/semaphore.h
+++ b/src/semaphore.h
@@ -38,8 +38,8 @@ public:
void wait();
private:
- struct semaphore_private_t *prv;
- const char *name;
+ struct semaphore_private_t *prv{nullptr};
+ const char *name{nullptr};
};
#endif/*__PRACRO_SEMAPHORE_H__*/