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:
parent
53be85e1b1
commit
6e13b75186
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue