Fix some (clang) compiler warnings
This commit is contained in:
parent
051d42ae6b
commit
d4e59065df
|
@ -93,6 +93,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/** No implementation */
|
||||||
|
ScopeGuard& operator=(const ScopeGuard &);
|
||||||
|
|
||||||
Variables & _guarded;
|
Variables & _guarded;
|
||||||
bool _insideLoop;
|
bool _insideLoop;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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) ||
|
||||||
|
|
Loading…
Reference in New Issue