Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-23 Thread Eduardo Lima (Etrunko)
On 06/23/2016 10:26 AM, Pavel Grunt wrote: > On Thu, 2016-06-23 at 10:15 -0300, Eduardo Lima (Etrunko) wrote: >> On 06/22/2016 05:16 PM, Pavel Grunt wrote: >>> On Wed, 2016-06-22 at 14:59 -0300, Eduardo Lima (Etrunko) wrote: This is not actually necessary as of C99. You only need to

Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-23 Thread Pavel Grunt
On Thu, 2016-06-23 at 10:15 -0300, Eduardo Lima (Etrunko) wrote: > On 06/22/2016 05:16 PM, Pavel Grunt wrote: > > On Wed, 2016-06-22 at 14:59 -0300, Eduardo Lima (Etrunko) wrote: > > > This is not actually necessary as of C99. You only need to initialize > > > any field of a structure to get all

Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-23 Thread Eduardo Lima (Etrunko)
On 06/22/2016 05:16 PM, Pavel Grunt wrote: > On Wed, 2016-06-22 at 14:59 -0300, Eduardo Lima (Etrunko) wrote: >> This is not actually necessary as of C99. You only need to initialize >> any field of a structure to get all other fields initialized too. > > yes, I was just annoyed by the warning..

Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-22 Thread Pavel Grunt
On Wed, 2016-06-22 at 14:59 -0300, Eduardo Lima (Etrunko) wrote: > This is not actually necessary as of C99. You only need to initialize > any field of a structure to get all other fields initialized too. yes, I was just annoyed by the warning.. > > On 06/22/2016 03:17 AM, Pavel Grunt wrote: >

Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-22 Thread Eduardo Lima (Etrunko)
This is not actually necessary as of C99. You only need to initialize any field of a structure to get all other fields initialized too. On 06/22/2016 03:17 AM, Pavel Grunt wrote: > --- > src/virt-viewer-display-spice.c | 2 +- > src/virt-viewer-display-vnc.c | 2 +- > src/virt-viewer-window.c

Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-22 Thread Fabiano Fidêncio
On Wed, Jun 22, 2016 at 8:17 AM, Pavel Grunt wrote: > --- > src/virt-viewer-display-spice.c | 2 +- > src/virt-viewer-display-vnc.c | 2 +- > src/virt-viewer-window.c| 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-22 Thread Pavel Grunt
On Wed, 2016-06-22 at 10:59 +0200, Fabiano Fidêncio wrote: > On Wed, Jun 22, 2016 at 8:17 AM, Pavel Grunt wrote: > > --- > >  src/virt-viewer-display-spice.c | 2 +- > >  src/virt-viewer-display-vnc.c   | 2 +- > >  src/virt-viewer-window.c| 2 +- > >  3 files changed, 3

[virt-tools-list] [PATCH virt-viewer 4/4] Fix missing field initializers

2016-06-22 Thread Pavel Grunt
--- src/virt-viewer-display-spice.c | 2 +- src/virt-viewer-display-vnc.c | 2 +- src/virt-viewer-window.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/virt-viewer-display-spice.c b/src/virt-viewer-display-spice.c index ee07507..a604230 100644 ---