aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientNew.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 00:50:13 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 00:50:13 +0100
commitfb337418a5b8d85306c96ad51d445fd58fb38491 (patch)
treeb2ffd1c9f18bb643238741b72538d1ee5a5a4f8e /src/ClientNew.cxx
parent9d312ab208f797a69c8366f4a961d6cb3228cecb (diff)
downloadmpd-fb337418a5b8d85306c96ad51d445fd58fb38491.tar.gz
mpd-fb337418a5b8d85306c96ad51d445fd58fb38491.tar.xz
mpd-fb337418a5b8d85306c96ad51d445fd58fb38491.zip
Client: move code to class CommandListBuilder
Diffstat (limited to '')
-rw-r--r--src/ClientNew.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ClientNew.cxx b/src/ClientNew.cxx
index 3a091ddae..45148202b 100644
--- a/src/ClientNew.cxx
+++ b/src/ClientNew.cxx
@@ -52,7 +52,6 @@ Client::Client(struct player_control *_player_control,
permission(getDefaultPermissions()),
uid(_uid),
last_activity(g_timer_new()),
- 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),
@@ -86,9 +85,6 @@ Client::~Client()
{
g_timer_destroy(last_activity);
- if (cmd_list != nullptr)
- free_cmd_list(cmd_list);
-
g_queue_foreach(deferred_send, deferred_buffer_free, NULL);
g_queue_free(deferred_send);