summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-04-03 21:53:20 +0200
committerMax Kellermann <max@musicpd.org>2019-04-03 21:53:20 +0200
commitd9117a272b66cfd314fd5d0b6a486ab116e44bf5 (patch)
tree1495efdd65f84998d0c798e6293c9628735a35fc /src/client
parentb8a8bdeaec3d7d784a6f14e0d1a21fa261c3f6d9 (diff)
client/Response: use C++11 initializer
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Response.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Response.hxx b/src/client/Response.hxx
index ad9e3a0f7..1c9e935ee 100644
--- a/src/client/Response.hxx
+++ b/src/client/Response.hxx
@@ -41,11 +41,11 @@ class Response {
/**
* This command's name. Used to generate error messages.
*/
- const char *command;
+ const char *command = "";
public:
Response(Client &_client, unsigned _list_index) noexcept
- :client(_client), list_index(_list_index), command("") {}
+ :client(_client), list_index(_list_index) {}
Response(const Response &) = delete;
Response &operator=(const Response &) = delete;