Visual Studio: Fixed warnings
This commit is contained in:
parent
567f1da4b4
commit
f5823f7747
|
@ -2228,7 +2228,7 @@ void CheckMemoryLeakInFunction::checkScope(const Token *Tok1, const std::string
|
||||||
void CheckMemoryLeakInFunction::checkReallocUsage()
|
void CheckMemoryLeakInFunction::checkReallocUsage()
|
||||||
{
|
{
|
||||||
const Token *tok = _tokenizer->tokens();
|
const Token *tok = _tokenizer->tokens();
|
||||||
while ((tok = Token::findmatch(tok, ") const| {")))
|
while (NULL != (tok = Token::findmatch(tok, ") const| {")))
|
||||||
{
|
{
|
||||||
const Token *startOfFunction = tok;
|
const Token *startOfFunction = tok;
|
||||||
|
|
||||||
|
|
|
@ -931,7 +931,7 @@ void CppCheck::reportStatus(unsigned int /*index*/, unsigned int /*max*/)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CppCheck::reportProgress(const std::string &filename, const char stage[], const unsigned char value)
|
void CppCheck::reportProgress(const std::string &filename, const char stage[], const unsigned int value)
|
||||||
{
|
{
|
||||||
(void)filename;
|
(void)filename;
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,7 @@ private:
|
||||||
*/
|
*/
|
||||||
virtual void reportOut(const std::string &outmsg);
|
virtual void reportOut(const std::string &outmsg);
|
||||||
|
|
||||||
void reportProgress(const std::string &filename, const char stage[], const unsigned char value);
|
void reportProgress(const std::string &filename, const char stage[], const unsigned int value);
|
||||||
|
|
||||||
unsigned int exitcode;
|
unsigned int exitcode;
|
||||||
std::list<std::string> _errorList;
|
std::list<std::string> _errorList;
|
||||||
|
|
|
@ -174,7 +174,7 @@ public:
|
||||||
* @param stage for example preprocess / tokenize / simplify / check
|
* @param stage for example preprocess / tokenize / simplify / check
|
||||||
* @param value progress value (0-100)
|
* @param value progress value (0-100)
|
||||||
*/
|
*/
|
||||||
virtual void reportProgress(const std::string &filename, const char stage[], const unsigned char value)
|
virtual void reportProgress(const std::string &filename, const char stage[], const unsigned int value)
|
||||||
{
|
{
|
||||||
(void)filename;
|
(void)filename;
|
||||||
(void)stage;
|
(void)stage;
|
||||||
|
|
Loading…
Reference in New Issue