@@ -212,8 +212,8 @@ class TestMemleakInFunction : public TestFixture
212212 errout.str (" " );
213213
214214 // Check for memory leaks..
215- Settings settings (showAll ? Settings::testSettings () : Settings ()) ;
216- settings._debug = true ;
215+ Settings settings;
216+ settings.inconclusive = showAll ;
217217 tokenizer.fillFunctionList ();
218218 CheckMemoryLeakInFunction checkMemoryLeak (&tokenizer, &settings, this );
219219 checkMemoryLeak.check ();
@@ -600,7 +600,8 @@ class TestMemleakInFunction : public TestFixture
600600 }
601601 }
602602
603- Settings settings (all ? Settings::testSettings () : Settings ());
603+ Settings settings;
604+ settings.inconclusive = all;
604605 CheckMemoryLeakInFunction checkMemoryLeak (&tokenizer, &settings, NULL );
605606 all = false ;
606607 checkMemoryLeak.simplifycode (tokens, all);
@@ -2141,8 +2142,8 @@ class TestMemleakInFunction : public TestFixture
21412142 errout.str (" " );
21422143
21432144 // Check for memory leaks..
2144- Settings settings ( Settings::testSettings ()) ;
2145- settings._debug = true ;
2145+ Settings settings;
2146+ settings.inconclusive = true ;
21462147
21472148 {
21482149 std::istringstream istr (_autoDealloc);
@@ -2712,8 +2713,8 @@ class TestMemleakInClass : public TestFixture
27122713 errout.str (" " );
27132714
27142715 // Check for memory leaks..
2715- Settings settings (showAll ? Settings::testSettings () : Settings ()) ;
2716- settings._debug = true ;
2716+ Settings settings;
2717+ settings.inconclusive = true ;
27172718 tokenizer.fillFunctionList ();
27182719 CheckMemoryLeakInClass checkMemoryLeak (&tokenizer, &settings, this );
27192720 checkMemoryLeak.check ();
0 commit comments