remove unused member variables

gcc 4.9 found some unused member variables which can be removed.
This commit is contained in:
Patrick Ohly 2014-07-02 13:18:28 +02:00
parent 4dd10c1c0c
commit 4f16f586f1
2 changed files with 4 additions and 8 deletions

View file

@ -37,7 +37,6 @@ class MultiplexConfigNode : public FilterConfigNode
boost::shared_ptr<FilterConfigNode> m_nodes[2][3];
const ConfigPropertyRegistry &m_registry;
bool m_havePeerNodes;
int m_hiddenLower, m_hiddenUpper;
FilterConfigNode *getNode(const std::string &property,
const ConfigProperty **prop = NULL) const;
@ -49,8 +48,8 @@ class MultiplexConfigNode : public FilterConfigNode
FilterConfigNode(boost::shared_ptr<ConfigNode>()),
m_name(name),
m_registry(registry),
m_havePeerNodes(true),
m_hiddenLower(0), m_hiddenUpper(1) {}
m_havePeerNodes(true)
{}
/** only join hidden or user-visible properties */
MultiplexConfigNode(const std::string &name,
@ -59,8 +58,8 @@ class MultiplexConfigNode : public FilterConfigNode
FilterConfigNode(boost::shared_ptr<ConfigNode>()),
m_name(name),
m_registry(registry),
m_havePeerNodes(true),
m_hiddenLower(hidden), m_hiddenUpper(hidden) {}
m_havePeerNodes(true)
{}
/** true when peer nodes are used (default), false when they are dummy nodes */
bool getHavePeerNodes() const { return m_havePeerNodes; }

View file

@ -293,7 +293,6 @@ class ConfigProperty {
m_obligatory(false),
m_hidden(false),
m_sharing(NO_SHARING),
m_flags(0),
m_names(name),
m_comment(boost::trim_right_copy(comment)),
m_defValue(def),
@ -305,7 +304,6 @@ class ConfigProperty {
m_obligatory(false),
m_hidden(false),
m_sharing(NO_SHARING),
m_flags(0),
m_names(names),
m_comment(boost::trim_right_copy(comment)),
m_defValue(def),
@ -448,7 +446,6 @@ class ConfigProperty {
bool m_obligatory;
bool m_hidden;
Sharing m_sharing;
int m_flags;
const Aliases m_names;
const std::string m_comment, m_defValue, m_descr;
};