summaryrefslogtreecommitdiff
path: root/src/gpuwattch/sharedcache.cc
diff options
context:
space:
mode:
authorleonyu <a@b>2013-10-21 21:08:33 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commitdb789973ec11440d4b4d02bc9ad1481ec9b1054f (patch)
treee1693c022567d26069a098f08ea55156b0acf40f /src/gpuwattch/sharedcache.cc
parentda74edd77d3effb3da82090c05ebd3a1f3965f1f (diff)
warning fixes 2nd patch, including comments removal and strict aliasing fixes.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17183]
Diffstat (limited to 'src/gpuwattch/sharedcache.cc')
-rw-r--r--src/gpuwattch/sharedcache.cc3
1 files changed, 1 insertions, 2 deletions
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;