ldb_parse_test: studio compiler doesn't like empty struct definitions
authorBjörn Jacke <bj@sernet.de>
Mon, 26 Oct 2020 11:49:05 +0000 (12:49 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Nov 2020 06:53:43 +0000 (06:53 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/tests/ldb_parse_test.c

index d7442b954ea46a749ab160885c73e4d66c053dd3..b08c7b7680ca9d3e8362d742dd8260db2a0cc2a9 100644 (file)
@@ -27,9 +27,7 @@
 
 #include "../include/ldb.h"
 
-struct test_ctx
-{
-};
+struct test_ctx { uint8_t dummy; };
 
 static int setup(void **state)
 {