On (23/05/14 11:26), Pavel Reichl wrote:
>Hello,
>
>I found this warning, 
>
>../src/tests/sbus_codegen_tests.c: In function ‘test_vtable’:
>../src/tests/sbus_codegen_tests.c:182:5: error: missing initializer for field 
>‘com_planetexpress_Ship_get_Color’ of ‘struct com_planetexpress_Ship’ 
>[-Werror=missing-field-initializers]
>     
>
>Attached patch fixes the issue, but please feel free to propose more useful 
>fix.
>
>Thanks,
>
>PR

>From 9aa040c1b5720dab52b0bc71b1bb80cea0d978c5 Mon Sep 17 00:00:00 2001
>From: Pavel Reichl <[email protected]>
>Date: Fri, 23 May 2014 10:18:27 +0100
>Subject: [PATCH] TEST: fix warning in sbus_codegen_tests
>
>---
> src/tests/sbus_codegen_tests.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/src/tests/sbus_codegen_tests.c b/src/tests/sbus_codegen_tests.c
>index 
>c7da414fe30f46d9d317f3a4205ab38c4e905081..315739e7f9fa8e1487ef3d269f949db5383b786f
> 100644
>--- a/src/tests/sbus_codegen_tests.c
>+++ b/src/tests/sbus_codegen_tests.c
>@@ -179,6 +179,7 @@ START_TEST(test_vtable)
>         mock_move_universe,
>         mock_crash_now,
>         mock_land,
>+        NULL,
>     };

warning fixed.

ACK

LS
_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to