Subject: [PATCH] valgrind: also ignore Addr16 in check_refname_format

From: Jeff King <[email-masked]>
Date: Sat, 26 Jul 2014 07:38:49 -0400

We already suppress Addr8 warnings, but t1402 reliably
triggers Addr16 on my machine.

Signed-off-by: Jeff King <[email-masked]>
---
I didn't look at the code, so I'm not sure if we could similarly trigger
Addr32, etc. This is enough for my machine.

 t/valgrind/default.supp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp
index 9d51c92..d49a8b2 100644
--- a/t/valgrind/default.supp
+++ b/t/valgrind/default.supp
@@ -50,11 +50,16 @@
 	fun:copy_ref
 }
 {
-	ignore-sse-check_refname_format-addr
+	ignore-sse-check_refname_format-addr8
 	Memcheck:Addr8
 	fun:check_refname_format
 }
 {
+	ignore-sse-check_refname_format-addr16
+	Memcheck:Addr16
+	fun:check_refname_format
+}
+{
 	ignore-sse-check_refname_format-cond
 	Memcheck:Cond
 	fun:check_refname_format
-- 
2.0.0.566.gfe3e6b2