aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-04 07:55:58 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-04 07:58:52 +0100
commitb78f2ed75d39c8a29d867ac5be2eda152444599a (patch)
tree77aa482c14e667502a11e07d714f44f88cbeefeb /tests
parent2af88a679d9fb4493a0661ee886f0aa7e8e1aadc (diff)
downloadlibssh-b78f2ed75d39c8a29d867ac5be2eda152444599a.tar.gz
libssh-b78f2ed75d39c8a29d867ac5be2eda152444599a.tar.xz
libssh-b78f2ed75d39c8a29d867ac5be2eda152444599a.zip
tests: Fix build warning with pkd_hello and cmocka 1.1.0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/pkd/pkd_hello.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pkd/pkd_hello.c b/tests/pkd/pkd_hello.c
index f02cb5fb..fe7c2276 100644
--- a/tests/pkd/pkd_hello.c
+++ b/tests/pkd/pkd_hello.c
@@ -409,7 +409,8 @@ struct {
emit_testmap(client, noop, "", setup_noop, teardown)
/* NULL tail entry */
- { NULL, { { NULL, NULL, NULL, NULL }, { NULL, NULL, NULL, NULL }, { NULL, NULL, NULL, NULL } } }
+ { .testname = NULL, {
+ { .name = NULL, }, { .name = NULL }, { .name = NULL } } }
};
static int pkd_run_tests(void) {