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