get rid of unused guesscharset
This commit is contained in:
parent
44e6c8ea09
commit
bc6587f07a
@ -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);
|
||||
|
||||
@ -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<string> 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<string> m_restrictMTypes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user