diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:08 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:08 -0500 |
commit | a62afd094b75f52471ff2556c62c9c5f53d705e6 (patch) | |
tree | c7d7d1dbbfd29c7bba2ef11a124cef014f5dff0c /src/mem/ruby/network | |
parent | 08a5fd328b25d2ff431dc8f593c2d1bf3816b36e (diff) | |
download | gem5-a62afd094b75f52471ff2556c62c9c5f53d705e6.tar.xz |
scons: Fix warnings issued by clang 3.2svn (XCode 4.6)
This patch fixes the warnings that clang3.2svn emit due to the "-Wall"
flag. There is one case of an uninitialised value in the ARM neon ISA
description, and then a whole range of unused private fields that are
pruned.
Diffstat (limited to 'src/mem/ruby/network')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.hh | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/flitBuffer.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.hh index 444cfae5c..4c1cae842 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/flitBuffer_d.hh @@ -75,7 +75,7 @@ class flitBuffer_d private: std::vector<flit_d *> m_buffer; - int size, max_size; + int max_size; }; inline std::ostream& diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/flitBuffer.hh b/src/mem/ruby/network/garnet/flexible-pipeline/flitBuffer.hh index 4b244a608..609c5a9b6 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/flitBuffer.hh +++ b/src/mem/ruby/network/garnet/flexible-pipeline/flitBuffer.hh @@ -58,7 +58,7 @@ class flitBuffer private: std::vector<flit *> m_buffer; - int size, max_size; + int max_size; }; inline std::ostream& |