ClientNew: initialise the "idle" attributes

Make valgrind happy.
This commit is contained in:
Max Kellermann 2013-01-03 23:43:42 +01:00
parent fc1f0eeda7
commit 9e4509b846
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ Client::Client(struct player_control *_player_control,
cmd_list(nullptr), cmd_list_OK(-1), cmd_list_size(0),
deferred_send(g_queue_new()), deferred_bytes(0),
num(_num),
send_buf_used(0)
send_buf_used(0),
idle_waiting(false), idle_flags(0)
{
assert(fd >= 0);