Commit a2e7fd23 authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

Initialize mpdcli MpdStatus state field

parent c1fc32d8
...@@ -29,7 +29,7 @@ struct mpd_song; ...@@ -29,7 +29,7 @@ struct mpd_song;
class MpdStatus { class MpdStatus {
public: public:
MpdStatus() : trackcounter(0), detailscounter(0) {} MpdStatus() : state(MPDS_UNK), trackcounter(0), detailscounter(0) {}
enum State {MPDS_UNK, MPDS_STOP, MPDS_PLAY, MPDS_PAUSE}; enum State {MPDS_UNK, MPDS_STOP, MPDS_PLAY, MPDS_PAUSE};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment