]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make 'c'/'C' work again with --gen-suppressions=yes. I wonder how
authorJulian Seward <jseward@acm.org>
Sun, 25 Jun 2006 12:18:20 +0000 (12:18 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 25 Jun 2006 12:18:20 +0000 (12:18 +0000)
long this has been broken.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5978

coregrind/m_errormgr.c

index 0ee1b4ecd0269f614ea42a9ca4544d18351c0d8f..2fb30f47281da0fb816f59506232dcc0f56f2c03 100644 (file)
@@ -447,9 +447,9 @@ void do_actions_on_error(Error* err, Bool allow_db_attach)
            && VG_(is_action_requested)( "Print suppression", &still_noisy ))
       ) {
       gen_suppression(err);
-      if (VG_(clo_gen_suppressions) == 1 && !still_noisy)
-         VG_(clo_gen_suppressions) = 0;
    }
+   if (VG_(clo_gen_suppressions) == 1 && !still_noisy)
+      VG_(clo_gen_suppressions) = 0;
 }
 
 /* Shared between VG_(maybe_record_error)() and VG_(unique_error)(),