Windows warning suppression (no real changes)
This commit is contained in:
parent
f778274b42
commit
5b35ecfe36
@ -492,7 +492,7 @@ static inline bool isdigit(int what, unsigned int flgs)
|
|||||||
#define STATS_INC_WORDCHARS
|
#define STATS_INC_WORDCHARS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
vector<CharFlags> splitFlags = {
|
vector<CharFlags> splitFlags{
|
||||||
{TextSplit::TXTS_NOSPANS, "nospans"},
|
{TextSplit::TXTS_NOSPANS, "nospans"},
|
||||||
{TextSplit::TXTS_ONLYSPANS, "onlyspans"},
|
{TextSplit::TXTS_ONLYSPANS, "onlyspans"},
|
||||||
{TextSplit::TXTS_KEEPWILD, "keepwild"}
|
{TextSplit::TXTS_KEEPWILD, "keepwild"}
|
||||||
|
|||||||
@ -79,8 +79,6 @@ bool EXEDocFetcher::makesig(RclConfig* cnf, const Rcl::Doc& idoc, string& sig)
|
|||||||
// Lookup bckid in the config and create an appropriate fetcher.
|
// Lookup bckid in the config and create an appropriate fetcher.
|
||||||
EXEDocFetcher *exeDocFetcherMake(RclConfig *config, const string& bckid)
|
EXEDocFetcher *exeDocFetcherMake(RclConfig *config, const string& bckid)
|
||||||
{
|
{
|
||||||
EXEDocFetcher *fetcher = 0;
|
|
||||||
|
|
||||||
// The config we only read once, not gonna change.
|
// The config we only read once, not gonna change.
|
||||||
static ConfSimple *bconf;
|
static ConfSimple *bconf;
|
||||||
if (!bconf) {
|
if (!bconf) {
|
||||||
|
|||||||
@ -753,7 +753,9 @@ Db::~Db()
|
|||||||
LOGDEB("Db::~Db: isopen " << m_ndb->m_isopen << " m_iswritable " <<
|
LOGDEB("Db::~Db: isopen " << m_ndb->m_isopen << " m_iswritable " <<
|
||||||
m_ndb->m_iswritable << "\n");
|
m_ndb->m_iswritable << "\n");
|
||||||
i_close(true);
|
i_close(true);
|
||||||
|
#ifdef RCL_USE_ASPELL
|
||||||
delete m_aspell;
|
delete m_aspell;
|
||||||
|
#endif
|
||||||
delete m_config;
|
delete m_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -227,6 +227,8 @@ private:
|
|||||||
|
|
||||||
/// Entries for the descriptive table
|
/// Entries for the descriptive table
|
||||||
struct CharFlags {
|
struct CharFlags {
|
||||||
|
CharFlags(int v, const char *y, const char *n=0)
|
||||||
|
: value(v), yesname(y), noname(n) {}
|
||||||
unsigned int value; // Flag or value
|
unsigned int value; // Flag or value
|
||||||
const char *yesname;// String to print if flag set or equal
|
const char *yesname;// String to print if flag set or equal
|
||||||
const char *noname; // String to print if flag not set (unused for values)
|
const char *noname; // String to print if flag not set (unused for values)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user