]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Merge r5973 (fix for: 'c' in --gen-supps=yes doesn't work)
authorJulian Seward <jseward@acm.org>
Mon, 28 Aug 2006 11:59:20 +0000 (11:59 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 28 Aug 2006 11:59:20 +0000 (11:59 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH@6015

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)(),