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: private:
/** No implementation */
ScopeGuard& operator=(const ScopeGuard &);
Variables & _guarded; Variables & _guarded;
bool _insideLoop; bool _insideLoop;
}; };

View File

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

View File

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