From 81368d791a6786abf5b62e37b2054bd01e99f220 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 7 Jul 2004 07:16:14 +0000 Subject: [PATCH] Only print a warning about not having identified the cache if we have actually failed to recognise it... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2460 --- cachegrind/cg_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c index da2983856..e193f48a1 100644 --- a/cachegrind/cg_main.c +++ b/cachegrind/cg_main.c @@ -1041,7 +1041,6 @@ void get_caches(cache_t* I1c, cache_t* D1c, cache_t* L2c) // Then replace with any info we can get from CPUID. res = get_caches_from_CPUID(I1c, D1c, L2c); - res = -1; // Then replace with any defined on the command line. if (DEFINED(clo_I1_cache)) { *I1c = clo_I1_cache; n_clos++; }