From db789973ec11440d4b4d02bc9ad1481ec9b1054f Mon Sep 17 00:00:00 2001 From: leonyu Date: Mon, 21 Oct 2013 21:08:33 -0800 Subject: warning fixes 2nd patch, including comments removal and strict aliasing fixes. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17183] --- src/gpuwattch/sharedcache.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gpuwattch/sharedcache.cc') diff --git a/src/gpuwattch/sharedcache.cc b/src/gpuwattch/sharedcache.cc index f615240..9d4a045 100644 --- a/src/gpuwattch/sharedcache.cc +++ b/src/gpuwattch/sharedcache.cc @@ -56,7 +56,7 @@ SharedCache::SharedCache(ParseXML* XML_interface, int ithCache_, InputParameter* { int idx; int tag, data; - bool is_default, debug; + bool debug; enum Device_ty device_t; enum Core_type core_t; double size, line, assoc, banks; @@ -72,7 +72,6 @@ SharedCache::SharedCache(ParseXML* XML_interface, int ithCache_, InputParameter* } debug = false; - is_default=true;//indication for default setup if (XML->sys.Embedded) { interface_ip.wt =Global_30; -- cgit v1.3