summaryrefslogtreecommitdiffstats
path: root/lib/rawmemchr.valgrind
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/rawmemchr.valgrind12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/rawmemchr.valgrind b/lib/rawmemchr.valgrind
new file mode 100644
index 0000000..6363923
--- /dev/null
+++ b/lib/rawmemchr.valgrind
@@ -0,0 +1,12 @@
+# Suppress a valgrind message about use of uninitialized memory in rawmemchr().
+# This use is OK because it provides only a speedup.
+{
+ rawmemchr-value4
+ Memcheck:Value4
+ fun:rawmemchr
+}
+{
+ rawmemchr-value8
+ Memcheck:Value8
+ fun:rawmemchr
+}