Ensured correct pointer init

This commit is contained in:
Lorenz Meier
2013-07-21 11:27:52 +02:00
parent a8ac56b9e5
commit 0f19de5311
+1 -1
View File
@@ -391,7 +391,7 @@ namespace sensors
#endif
static const int ERROR = -1;
Sensors *g_sensors;
Sensors *g_sensors = nullptr;
}
Sensors::Sensors() :