diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configparser.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp index 1c406f218..89ad6493a 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -385,17 +385,6 @@ bool ParseStack::ParseFile(const std::string& path, int flags, const std::string bool ConfigTag::readString(const std::string& key, std::string& value, bool allow_lf) { -#ifdef __clang__ -# pragma clang diagnostic push -# pragma clang diagnostic ignored "-Wunknown-pragmas" -# pragma clang diagnostic ignored "-Wundefined-bool-conversion" -#endif - // TODO: this is undefined behaviour but changing the API is too risky for 2.0. - if (!this) - return false; -#ifdef __clang__ -# pragma clang diagnostic pop -#endif for(std::vector<KeyVal>::iterator j = items.begin(); j != items.end(); ++j) { if(j->first != key) |