aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.c b/src/notify.c
index 86d5e1af1..6fdfb76f8 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -40,7 +40,7 @@ void waitNotify(Notify *notify)
void signalNotify(Notify *notify)
{
- char buffer;
+ char buffer = 0;
if (write(notify->fds[1], &buffer, sizeof(buffer)) < 0 &&
errno != EAGAIN && errno != EINTR)