From ab222ac8a6eb5d308267f54d82aac9fabe93d877 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 21 Mar 2011 16:33:00 +0200 Subject: [PATCH] Add members initialization --- .../stargazer/plugins/configuration/sgconfig/parser.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser.h b/projects/stargazer/plugins/configuration/sgconfig/parser.h index 60e618cb..511a073e 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser.h +++ b/projects/stargazer/plugins/configuration/sgconfig/parser.h @@ -31,8 +31,9 @@ public: tariffs(NULL), store(NULL), settings(NULL), - currAdmin(), - depth(0) + currAdmin(NULL), + depth(0), + answerList(NULL) { } virtual ~BASE_PARSER() {} virtual int ParseStart(void *data, const char *el, const char **attr) = 0; @@ -209,7 +210,7 @@ private: //----------------------------------------------------------------------------- class PARSER_DEL_USER: public BASE_PARSER { public: - PARSER_DEL_USER() : BASE_PARSER(), res(0) {} + PARSER_DEL_USER() : BASE_PARSER(), res(0), u(NULL) {} int ParseStart(void *data, const char *el, const char **attr); int ParseEnd(void *data, const char *el); void CreateAnswer(); @@ -231,7 +232,7 @@ private: //----------------------------------------------------------------------------- class PARSER_SEND_MESSAGE: public BASE_PARSER { public: - PARSER_SEND_MESSAGE() : BASE_PARSER(), result(0) {} + PARSER_SEND_MESSAGE() : BASE_PARSER(), result(0), u(NULL) {} int ParseStart(void *data, const char *el, const char **attr); int ParseEnd(void *data, const char *el); void CreateAnswer(); -- 2.44.2