Silenced some compiler warnings

This commit is contained in:
Martin Pulec
2013-07-10 13:28:20 +02:00
parent b3a080bb10
commit 183e7d5cdb
19 changed files with 65 additions and 134 deletions

View File

@@ -18,7 +18,7 @@ using namespace std;
struct stats {
public:
stats(string name, struct control_state *control)
: m_control(control), m_name(name), m_val(0) {
: m_name(name), m_val(0), m_control(control) {
platform_spin_init(&m_spin);
control_add_stats(control, this);
}
@@ -43,7 +43,6 @@ struct stats {
private:
string m_name;
int64_t m_val;
void *m_messaging_subscribtion;
struct control_state *m_control;
platform_spin_t m_spin;
};