summaryrefslogtreecommitdiffstats
path: root/gl/lib/strchrnul.valgrind
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gl/lib/strchrnul.valgrind12
1 files changed, 12 insertions, 0 deletions
diff --git a/gl/lib/strchrnul.valgrind b/gl/lib/strchrnul.valgrind
new file mode 100644
index 0000000..b14fa13
--- /dev/null
+++ b/gl/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
+}