Remove of build warnings.
authorGrzegorz Rynkowski <g.rynkowski@samsung.com>
Fri, 22 Mar 2013 13:20:49 +0000 (14:20 +0100)
committerGerrit Code Review <gerrit2@kim11>
Tue, 26 Mar 2013 10:45:23 +0000 (19:45 +0900)
[Issue#] N/A
[Problem] Build warnings.
[Cause] N/A
[Solution] Correction of code.

Change-Id: Ib6a1157ebf408292abd8edcb7fd46644b8ede668

src/configuration_parser/widget_parser.cpp

index 026a84d..94e57e8 100644 (file)
@@ -2274,15 +2274,15 @@ class AccountParser : public ElementParser
                 IconParser(ConfigParserData::AccountProvider& data) :
                     ElementParser(),
                     m_properNamespace(false),
-                    m_data(data),
-                    m_type(ConfigParserData::DefaultIcon)
+                    m_type(ConfigParserData::DefaultIcon),
+                    m_data(data)
             {}
 
             private:
                 bool m_properNamespace;
                 ConfigParserData::IconSectionType m_type;
-                DPL::OptionalString m_value;
                 ConfigParserData::AccountProvider& m_data;
+                DPL::OptionalString m_value;
         };
 
           struct DisplayNameParser : public ElementParser
@@ -2394,7 +2394,7 @@ class AccountParser : public ElementParser
               }
           }
 
-          virtual void Accept(const Text& text)
+          virtual void Accept(const Text& /*text*/)
           {}
 
           virtual void Accept(const Element& /*element*/)
@@ -2436,8 +2436,8 @@ class AccountParser : public ElementParser
           AccountProviderParser(ConfigParserData::AccountProvider& data) :
               ElementParser(),
               m_properNamespace(false),
-              m_data(data),
-              m_multiSupport(false)
+              m_multiSupport(false),
+              m_data(data)
         {}
 
       private: