(svn r26057) -Fix: a number of possibly uninitialised variables
This commit is contained in:
@@ -32,6 +32,7 @@ static const int MAX_GET_SETTING_OPS = 100000;
|
||||
class ScriptInfo : public SimpleCountedObject {
|
||||
public:
|
||||
ScriptInfo() :
|
||||
engine(NULL),
|
||||
SQ_instance(NULL),
|
||||
main_script(NULL),
|
||||
tar_file(NULL),
|
||||
|
@@ -49,6 +49,7 @@ static void PrintFunc(bool error_msg, const SQChar *message)
|
||||
|
||||
ScriptInstance::ScriptInstance(const char *APIName) :
|
||||
engine(NULL),
|
||||
versionAPI(NULL),
|
||||
controller(NULL),
|
||||
storage(NULL),
|
||||
instance(NULL),
|
||||
|
@@ -76,6 +76,9 @@ public:
|
||||
new_vehicle_id (0),
|
||||
new_sign_id (0),
|
||||
new_group_id (0),
|
||||
new_goal_id (0),
|
||||
new_story_page_id (0),
|
||||
new_story_page_element_id(0),
|
||||
/* calback_value (can't be set) */
|
||||
road_type (INVALID_ROADTYPE),
|
||||
rail_type (INVALID_RAILTYPE),
|
||||
|
Reference in New Issue
Block a user