diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 23:43:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 23:59:45 +0100 |
commit | 9e4509b8465c9fe7f66d159f2c5835a9e6b3c2e9 (patch) | |
tree | 4ffb1c285c6aecd9f0f7c98607e3afa49ae2ea18 /src/ClientNew.cxx | |
parent | fc1f0eeda75f5b3c7d5da984045a44ab8fff52de (diff) | |
download | mpd-9e4509b8465c9fe7f66d159f2c5835a9e6b3c2e9.tar.gz mpd-9e4509b8465c9fe7f66d159f2c5835a9e6b3c2e9.tar.xz mpd-9e4509b8465c9fe7f66d159f2c5835a9e6b3c2e9.zip |
ClientNew: initialise the "idle" attributes
Make valgrind happy.
Diffstat (limited to 'src/ClientNew.cxx')
-rw-r--r-- | src/ClientNew.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientNew.cxx b/src/ClientNew.cxx index a1c002ff5..3a091ddae 100644 --- a/src/ClientNew.cxx +++ b/src/ClientNew.cxx @@ -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); |