build: clang warning cleanup

* unused member in undoredocontroller
* int - size_t comparion
* virtual destructor ASTVisitor added
* braces when && and || in same if
* 1 warning left: isNamedDeclUnnamed in ASTVisitor is unused
This commit is contained in:
Andreas Stallinger
2016-03-03 20:16:20 +01:00
parent 8b4b4bb027
commit 8f1326e02a
6 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ void Storage::onError(const ParseLocation& location, const std::string& message,
m_sqliteStorage.addError(message, fatal, location.filePath.str(), location.startLineNumber, location.startColumnNumber);
if (totalErrorCount != getErrorCount().total)
if ((int)totalErrorCount != getErrorCount().total)
{
MessageShowErrors msg(getErrorCount());
msg.setSendAsTask(false);