summaryrefslogtreecommitdiff
path: root/src/dev/virtio/base.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-11-24 09:03:38 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2014-11-24 09:03:38 -0500
commitd66b14ca61bec95a4049e5aae468904395055efd (patch)
tree6ddaf6bd4a792f0fe3125d57dae95fb9099dd7b7 /src/dev/virtio/base.hh
parent1f539f13c32ad5a9187d56a098d4c857639b0e05 (diff)
downloadgem5-d66b14ca61bec95a4049e5aae468904395055efd.tar.xz
misc: Another round of static analysis fixups
Mostly addressing uninitialised members.
Diffstat (limited to 'src/dev/virtio/base.hh')
-rw-r--r--src/dev/virtio/base.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/virtio/base.hh b/src/dev/virtio/base.hh
index 4695f2b96..fe1685767 100644
--- a/src/dev/virtio/base.hh
+++ b/src/dev/virtio/base.hh
@@ -479,7 +479,7 @@ public:
} M5_ATTR_PACKED;
VirtRing<T>(PortProxy &proxy, uint16_t size)
- : ring(size), _proxy(proxy), _base(0) {}
+ : header{0, 0}, ring(size), _proxy(proxy), _base(0) {}
/**
* Set the base address of the VirtIO ring buffer.