]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Only print a warning about not having identified the cache if we have
authorTom Hughes <tom@compton.nu>
Wed, 7 Jul 2004 07:16:14 +0000 (07:16 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 7 Jul 2004 07:16:14 +0000 (07:16 +0000)
actually failed to recognise it...

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2460

cachegrind/cg_main.c

index da298385698577211449633b5ab6fc4b64d2d506..e193f48a1ea9078e2a0a391ad43f2db3d60dcf95 100644 (file)
@@ -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++; }