Fix some (clang) compiler warnings

This commit is contained in:
Alexander Mai 2014-11-20 20:49:05 +01:00
parent 051d42ae6b
commit d4e59065df
3 changed files with 4 additions and 2 deletions

View File

@ -93,6 +93,9 @@ public:
}
private:
/** No implementation */
ScopeGuard& operator=(const ScopeGuard &);
Variables & _guarded;
bool _insideLoop;
};

View File

@ -35,7 +35,7 @@ class SymbolDatabase;
class CPPCHECKLIB ExecutionPath {
private:
/** No implementation */
void operator=(const ExecutionPath &);
ExecutionPath& operator=(const ExecutionPath &);
protected:
Check * const owner;

View File

@ -423,7 +423,6 @@ bool MathLib::isValidSuffix(std::string::const_iterator it, std::string::const_i
break;
default:
return false;
break;
}
}
return ((state == SUFFIX_U) ||