Refactorization: Removed whitespaces at the end of a token
Removed a redundant 'void'
This commit is contained in:
parent
ddf34440b6
commit
dfd9d32c4b
|
@ -2923,7 +2923,7 @@ void CheckOther::suspiciousStringCompareError(const Token* tok, const std::strin
|
||||||
// Reference:
|
// Reference:
|
||||||
// - http://www.cplusplus.com/reference/cmath/
|
// - http://www.cplusplus.com/reference/cmath/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void CheckOther::checkComparisonFunctionIsAlwaysTrueOrFalse(void)
|
void CheckOther::checkComparisonFunctionIsAlwaysTrueOrFalse()
|
||||||
{
|
{
|
||||||
if (!_settings->isEnabled("warning"))
|
if (!_settings->isEnabled("warning"))
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -266,7 +266,7 @@ public:
|
||||||
void checkCastIntToCharAndBack();
|
void checkCastIntToCharAndBack();
|
||||||
|
|
||||||
/** @brief %Check for using of comparison functions evaluating always to true or false. */
|
/** @brief %Check for using of comparison functions evaluating always to true or false. */
|
||||||
void checkComparisonFunctionIsAlwaysTrueOrFalse(void);
|
void checkComparisonFunctionIsAlwaysTrueOrFalse();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool isUnsigned(const Variable *var) const;
|
bool isUnsigned(const Variable *var) const;
|
||||||
|
|
Loading…
Reference in New Issue