1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

New warnfixes (#2254)

* Fix clang warnings

* Remove vim tab guides

* initialize variables

* 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length

* Fix ISO C++17 does not allow 'register' storage class specifier for outdated bison

* chars are unsigned on ARM, having  if (ival < 0) always false

* chars are unsigned by default on ARM and comparison with -1 if always true
This commit is contained in:
Leonid Fedorov
2022-02-17 13:08:58 +03:00
committed by GitHub
parent 15a87ee510
commit 3919c541ac
325 changed files with 20 additions and 353 deletions

View File

@ -684,4 +684,3 @@ std::string Config::getTempFileDir(Config::TempDirPurpose what)
}
} // namespace config
// vim:ts=4 sw=4:

View File

@ -254,4 +254,3 @@ class Config
#undef EXPORT
// vim:ts=4 sw=4:

View File

@ -64,4 +64,3 @@ void ConfigStream::init(const xmlChar* xp)
}
} // namespace config
// vim:ts=4 sw=4:

View File

@ -61,4 +61,3 @@ class ConfigStream
} // namespace config
// vim:ts=4 sw=4:

View File

@ -285,4 +285,3 @@ const vector<string> XMLParser::enumSection(const xmlDocPtr doc, const string& s
}
} // namespace config
// vim:ts=4 sw=4:

View File

@ -63,4 +63,3 @@ class XMLParser
} // namespace config
// vim:ts=4 sw=4: