diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/third_party/dynamic_annotations/dynamic_annotations.c | 2 | ||||
-rw-r--r-- | base/tools_sanity_unittest.cc | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/base/third_party/dynamic_annotations/dynamic_annotations.c b/base/third_party/dynamic_annotations/dynamic_annotations.c index b9cb58f..5cfadb9 100644 --- a/base/third_party/dynamic_annotations/dynamic_annotations.c +++ b/base/third_party/dynamic_annotations/dynamic_annotations.c @@ -123,13 +123,11 @@ void AnnotateFlushState(const char *file, int line){} static int GetRunningOnValgrind(void) { #ifdef RUNNING_ON_VALGRIND - printf("RUNNING_ON_VALGRIND: %d\n", RUNNING_ON_VALGRIND); if (RUNNING_ON_VALGRIND) return 1; #endif #ifndef _MSC_VER char *running_on_valgrind_str = getenv("RUNNING_ON_VALGRIND"); - printf("env[RUNNING_ON_VALGRIND]=\"%s\"\n", running_on_valgrind_str); if (running_on_valgrind_str) { return strcmp(running_on_valgrind_str, "0") != 0; } diff --git a/base/tools_sanity_unittest.cc b/base/tools_sanity_unittest.cc index 10f1a72..d4b27a5 100644 --- a/base/tools_sanity_unittest.cc +++ b/base/tools_sanity_unittest.cc @@ -75,7 +75,6 @@ TEST(ToolsSanityTest, AccessesToMallocMemory) { // This test may corrupt memory if not run under Valgrind. if (!RunningOnValgrind()) return; - printf("HERE!\n"); char *foo = reinterpret_cast<char*>(malloc(10)); MakeSomeErrors(foo, 10); free(foo); |