diff --git a/src/common/rclconfig.cpp b/src/common/rclconfig.cpp index 6d437917..a91bec3b 100644 --- a/src/common/rclconfig.cpp +++ b/src/common/rclconfig.cpp @@ -248,8 +248,6 @@ void RclConfig::setKeyDir(const string &dir) if (!m_conf->get("defaultcharset", defcharset, m_keydir)) defcharset.erase(); - - getConfParam("guesscharset", &guesscharset); } bool RclConfig::getConfParam(const string &name, int *ivp) @@ -1065,7 +1063,6 @@ void RclConfig::initFrom(const RclConfig& r) m_stopsuffixes = new SuffixStore(*((SuffixStore*)r.m_stopsuffixes)); m_maxsufflen = r.m_maxsufflen; defcharset = r.defcharset; - guesscharset = r.guesscharset; m_stpsuffstate.init(this, mimemap, r.m_stpsuffstate.paramname); m_skpnstate.init(this, m_conf, r.m_skpnstate.paramname); diff --git a/src/common/rclconfig.h b/src/common/rclconfig.h index 4bf0c59c..4c7ca26a 100644 --- a/src/common/rclconfig.h +++ b/src/common/rclconfig.h @@ -126,8 +126,6 @@ class RclConfig { /** Get default charset for current keydir (was set during setKeydir) * filenames are handled differently */ const string &getDefCharset(bool filename = false); - /** Get guessCharset for current keydir (was set during setKeydir) */ - bool getGuessCharset() {return guesscharset;} /** Get list of top directories. This is needed from a number of places * and needs some cleaning-up code. An empty list is always an error, no @@ -273,8 +271,7 @@ class RclConfig { list m_skpnlist; // Parameters auto-fetched on setkeydir - string defcharset; // These are stored locally to avoid - bool guesscharset; // They are fetched initially or on setKeydir() + string defcharset; // Limiting set of mime types to be processed. Normally empty. ParamStale m_rmtstate; set m_restrictMTypes;