diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-11-06 03:26:16 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-11-06 03:26:16 -0500 |
commit | 2cb5467e8514934c4d88304c65050adead0ffc7e (patch) | |
tree | 693dc8a9aa6fdadb2d1856bece4510e30527c256 /src/mem/ruby/network/garnet/fixed-pipeline | |
parent | 3747e178ed11ef0d73a50443bc9dc5498a91b1c9 (diff) | |
download | gem5-2cb5467e8514934c4d88304c65050adead0ffc7e.tar.xz |
misc: Appease clang static analyzer
A few minor fixes to issues identified by the clang static analyzer.
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh index d2ddcb820..6432114c1 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh @@ -70,7 +70,7 @@ class NetworkInterface_d : public ClockedObject, public Consumer private: GarnetNetwork_d *m_net_ptr; - const NodeID m_id; + const NodeID M5_CLASS_VAR_USED m_id; const int m_virtual_networks, m_vc_per_vnet, m_num_vcs; std::vector<OutVcState_d *> m_out_vc_state; std::vector<int> m_vc_allocator; |