[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH 1/2] Fix "-Wno-missing-field-initializers"



On Fri, Mar 23, 2012 at 09:05:56AM -0300, Fabiano FidĂȘncio wrote:
> ---
>  tools/osinfo-query.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tools/osinfo-query.c b/tools/osinfo-query.c
> index 9383d03..8c96b62 100644
> --- a/tools/osinfo-query.c
> +++ b/tools/osinfo-query.c
> @@ -71,7 +71,7 @@ static struct OsinfoLabel os_labels[] = {
>        "Code name", FALSE, 10 },
>      { OSINFO_ENTITY_PROP_ID,
>        "ID", TRUE, 40 },
> -    { NULL, NULL, 0 },
> +    { NULL, NULL, 0, 0},
>  };
>  
>  static struct OsinfoLabel platform_labels[] = {
> @@ -91,7 +91,7 @@ static struct OsinfoLabel platform_labels[] = {
>        "Code name", FALSE, 10 },
>      { OSINFO_ENTITY_PROP_ID,
>        "ID", TRUE, 40 },
> -    { NULL, NULL, 0 },
> +    { NULL, NULL, 0, 0 },
>  };
>  
>  static struct OsinfoLabel device_labels[] = {
> @@ -111,13 +111,13 @@ static struct OsinfoLabel device_labels[] = {
>        "Bus", TRUE, 8 },
>      { OSINFO_ENTITY_PROP_ID,
>        "ID", TRUE, 40 },
> -    { NULL, NULL, 0 },
> +    { NULL, NULL, 0, 0 },
>  };
>  
>  static struct OsinfoLabel deployment_labels[] = {
>      { OSINFO_ENTITY_PROP_ID,
>        "ID", TRUE, 40 },
> -    { NULL, NULL, 0 },
> +    { NULL, NULL, 0, 0 },
>  };

ACK and applied to GIT.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]