Initialize the dummy char we send down the pipe to make valgrind

happy.
This commit is contained in:
Alexandre Julliard 2003-04-02 01:44:01 +00:00
parent e7a44d18cd
commit 17480acb27
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ static void do_signal( struct handler *handler )
{ {
if (!handler->pending) if (!handler->pending)
{ {
char dummy; char dummy = 0;
handler->pending = 1; handler->pending = 1;
write( handler->pipe_write, &dummy, 1 ); write( handler->pipe_write, &dummy, 1 );
} }