Initialize the dummy char we send down the pipe to make valgrind
happy.
This commit is contained in:
parent
e7a44d18cd
commit
17480acb27
|
@ -108,7 +108,7 @@ static void do_signal( struct handler *handler )
|
|||
{
|
||||
if (!handler->pending)
|
||||
{
|
||||
char dummy;
|
||||
char dummy = 0;
|
||||
handler->pending = 1;
|
||||
write( handler->pipe_write, &dummy, 1 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue