test/cfg: Deactivated a test case in std.cpp, which tests std::string::find (three parameter version). It cases the travis build to be failing.

This commit is contained in:
Martin Ettl 2015-09-22 20:54:25 +02:00
parent a0b97d7676
commit 34dcf1182c
1 changed files with 3 additions and 2 deletions

View File

@ -2870,11 +2870,12 @@ void uninitvar_find(std::string s)
char c; char c;
// cppcheck-suppress uninitvar // cppcheck-suppress uninitvar
(void)s.find(c,pos); (void)s.find(c,pos);
/*
// testing of size_t find (const char* pc, size_t pos, size_t n) const; // testing of size_t find (const char* pc, size_t pos, size_t n) const;
size_t n; size_t n;
// cppcheck-suppress uninitvar // cppcheck-suppress uninitvar
(void)s.find(pc,pos,n); (void)s.find(pc,pos,n); // #6991
*/
} }
void invalidFunctionArgBool_abs(bool b, double x, double y) void invalidFunctionArgBool_abs(bool b, double x, double y)