"test
> spice virtual channel char device",
>
> The solution is to initialize .base member as a structure at once
> instead of multiple times per each member.
>
> Signed-off-by: Michal Privoznik
> **
>
Yup, this
On 06/22/2017 05:20 PM, Frediano Ziglio wrote:
>>
>> When compiling, -Werror=missing-field-initializers is enabled.
>> However, gcc fails to see that all the members of the
>> SpiceBaseInterface struct are initialized:
>>
>> test-display-base.c:844:5: error: missing initializer for field
>> 'descri
g-field-initializers] .base.description = "test
spice virtual channel char device",
The solution is to initialize .base member as a structure at once
instead of multiple times per each member.
Signed-off-by: Michal Privoznik
---
server/tests/test-display-base.c | 10 ++-
: Michal Privoznik
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 3396c71..f5445c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,7 +99,7 @@ AS_IF([test x"$have_smartcard" = "xyes"], [
AS_VAR_AP
previous case, git should never track
this file.
Signed-off-by: Michal Privoznik
---
.gitignore | 1 +
server/tests/.gitignore | 1 +
2 files changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index eb35f4b..90fb62a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7