info: remove confusing warning about running under valgrind
authorTim-Philipp Müller <tim@centricular.com>
Thu, 25 Sep 2014 17:55:03 +0000 (18:55 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 25 Sep 2014 17:55:03 +0000 (18:55 +0100)
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

index 8eda545..2c3f01c 100644 (file)
@@ -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");