aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/CommandListBuilder.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command/CommandListBuilder.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command/CommandListBuilder.hxx b/src/command/CommandListBuilder.hxx
index 0747c4697..9908121d6 100644
--- a/src/command/CommandListBuilder.hxx
+++ b/src/command/CommandListBuilder.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2014 The Music Player Daemon Project
+ * Copyright (C) 2003-2015 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -58,7 +58,7 @@ class CommandListBuilder {
public:
CommandListBuilder()
- :mode(Mode::DISABLED), size(0) {}
+ :mode(Mode::DISABLED) {}
/**
* Is a command list currently being built?
@@ -89,6 +89,7 @@ public:
assert(mode == Mode::DISABLED);
mode = (Mode)ok;
+ size = 0;
}
/**