summaryrefslogtreecommitdiff
path: root/memcheck/mc_main.c
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-12-06 03:36:24 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-12-06 03:36:24 +0000
commit25482bb4d2a92740fcc4908bdb515fe04ab1bbe0 (patch)
treed916969245b7f7f0703f7db55428d464c1a89bd6 /memcheck/mc_main.c
parent39745bedb5e9146945fa46c3157ef420dd9d7902 (diff)
Fix suppression-matching bogon (Paul Floyd).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6378 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r--memcheck/mc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index f9ccd032..37aa8e10 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -3437,7 +3437,7 @@ static Bool mc_error_matches_suppression(Error* err, Supp* su)
return (ekind == FreeErr || ekind == FreeMismatchErr);
case OverlapSupp:
- return (ekind = OverlapErr);
+ return (ekind == OverlapErr);
case LeakSupp:
return (ekind == LeakErr);