aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/vg-suppressions11
-rw-r--r--wsutil/ws_cpuid.h3
2 files changed, 2 insertions, 12 deletions
diff --git a/tools/vg-suppressions b/tools/vg-suppressions
index 4856ab1c7d..0e5f94b45e 100644
--- a/tools/vg-suppressions
+++ b/tools/vg-suppressions
@@ -6,17 +6,6 @@
# runs a valgrind step) but other entries are welcome as long as they are
# sufficiently commented.
{
- Remove uninitialised CPU condition code check for ws_cpuid_sse42() on Virtualbox
- Memcheck:Cond
- fun:ws_mempbrk_sse42_compile
- ...
- fun:register_all_protocols
- fun:proto_init
- fun:epan_init
- fun:main
-}
-
-{
Libgcrypt leak (gcry_control)
Memcheck:Leak
match-leak-kinds: reachable
diff --git a/wsutil/ws_cpuid.h b/wsutil/ws_cpuid.h
index 2ba696778d..d649e55ced 100644
--- a/wsutil/ws_cpuid.h
+++ b/wsutil/ws_cpuid.h
@@ -38,7 +38,8 @@ ws_cpuid(guint32 *CPUInfo, int selector)
"=b" (CPUInfo[1]),
"=c" (CPUInfo[2]),
"=d" (CPUInfo[3])
- : "a"(selector));
+ : "a" (selector),
+ "c" (0));
return TRUE;
}
#elif defined(__i386__)