From d66b14ca61bec95a4049e5aae468904395055efd Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 24 Nov 2014 09:03:38 -0500 Subject: misc: Another round of static analysis fixups Mostly addressing uninitialised members. --- src/dev/virtio/base.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dev/virtio/base.hh') 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(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. -- cgit v1.2.3