From 70d692c431f074ccc35bf9c75f695affdbab66db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 25 Sep 2014 18:55:03 +0100 Subject: [PATCH] info: remove confusing warning about running under valgrind We're not actually doing anything differently anywhere when we detect that we're running under valgrind, so let's not print that confusing message that makes people wonder how they can switch it off so they can valgrind the normal code paths. Seeing that we're not doing that nor have done so in the last 10 years we might just as well remove the entire check actually. --- gst/gstinfo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 8eda545..2c3f01c 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -280,9 +280,6 @@ _priv_gst_in_valgrind (void) #ifdef HAVE_VALGRIND_VALGRIND_H if (RUNNING_ON_VALGRIND) { GST_CAT_INFO (GST_CAT_GST_INIT, "we're running inside valgrind"); - printf ("GStreamer has detected that it is running inside valgrind.\n"); - printf ("It might now take different code paths to ease debugging.\n"); - printf ("Of course, this may also lead to different bugs.\n"); in_valgrind = GST_VG_INSIDE; } else { GST_CAT_LOG (GST_CAT_GST_INIT, "not doing extra valgrind stuff"); -- 2.7.4