On Wed, Mar 8, 2017 at 2:01 AM, Seth Arnold <1582...@bugs.launchpad.net>
wrote:

> Is the bool getting the
> correct initial value due to a 'memset 0' when the struct is
> initialized? Or does this also need an explicit initializer?
>

Hi,
as always in libvirt things are a bit more abstracted.
After a trip through somewhat object oriented code in C (which I don't want
to bother you) I can confirm that eventually is is a calloc that gets the
structs memory (src/util/viralloc.c:560).
Also an indicator - the other struct vars have no initiaizers either.

So I think it does not need an explicit initializer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1582990

Title:
  internal error: End of file from monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1582990/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to