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

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

 



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 :|


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux