Ensured correct pointer init

This commit is contained in:
Lorenz Meier 2013-07-21 11:27:52 +02:00
parent a8ac56b9e5
commit 0f19de5311
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ namespace sensors
#endif
static const int ERROR = -1;
Sensors *g_sensors;
Sensors *g_sensors = nullptr;
}
Sensors::Sensors() :