From 34dcf1182c7d3505ddaf2d6ef7f0b97f779df5cd Mon Sep 17 00:00:00 2001 From: Martin Ettl Date: Tue, 22 Sep 2015 20:54:25 +0200 Subject: [PATCH] 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. --- test/cfg/std.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/cfg/std.cpp b/test/cfg/std.cpp index 73bb1d150..e73a85b47 100644 --- a/test/cfg/std.cpp +++ b/test/cfg/std.cpp @@ -2870,11 +2870,12 @@ void uninitvar_find(std::string s) char c; // cppcheck-suppress uninitvar (void)s.find(c,pos); - +/* // testing of size_t find (const char* pc, size_t pos, size_t n) const; size_t n; // 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)