[Libosinfo] [libosinfo PATCH v2 3/6] media: Use G_STATIC_ASSERT()

Daniel P. Berrangé berrange at redhat.com
Thu Dec 20 09:46:52 UTC 2018


On Thu, Dec 20, 2018 at 08:46:44AM +0100, Fabiano Fidêncio wrote:
> Let's use G_STATIC_ASSERT() instead of creating a dummy array to check
> the size of the _PrimaryVolumeDescriptor struct.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  osinfo/osinfo_media.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libosinfo mailing list