notify: initialize variable to keep valgrind from bitching

We don't really care what that variable is, so it might as
well be uninitialized, but valgrind does...

git-svn-id: https://svn.musicpd.org/mpd/trunk@7220 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2008-03-27 05:32:27 +00:00
parent 53be85e1b1
commit 6e13b75186
1 changed files with 1 additions and 1 deletions

View File

@ -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)