Refactorization: Removed whitespaces at the end of a token

Removed a redundant 'void'
This commit is contained in:
Philipp Kloke 2014-04-12 23:28:13 +02:00
parent ddf34440b6
commit dfd9d32c4b
4 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;