Client: initialize num_subscriptions

This commit is contained in:
Max Kellermann 2013-01-04 23:02:35 +01:00
parent e89bd30db5
commit 3cacaa5dad
1 changed files with 2 additions and 1 deletions

View File

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