aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-07-13 16:55:43 +0200
committerHarald Welte <laforge@gnumonks.org>2016-07-17 07:44:11 +0000
commit505adee93bad5c12e7435d09a191d9d6221d09b3 (patch)
treeb666622880b96af641b069ea1eef7a041f017b8c
parent511b448fe3a8522d645499b7d0b93b5acb1b3776 (diff)
fix compiler warning: gsup.c: missing braces
osmo_auth_vector's first member is an array, so for a zero initializer, we should add a second set of array braces. Change-Id: Iace448caca8152e46244f26c3af250f2035c99eb
-rw-r--r--src/gsm/gsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/gsup.c b/src/gsm/gsup.c
index af3c409f..d6b49753 100644
--- a/src/gsm/gsup.c
+++ b/src/gsm/gsup.c
@@ -190,7 +190,7 @@ int osmo_gsup_decode(const uint8_t *const_data, size_t data_len,
uint8_t *value;
size_t value_len;
static const struct osmo_gsup_pdp_info empty_pdp_info = {0};
- static const struct osmo_auth_vector empty_auth_info = {0};
+ static const struct osmo_auth_vector empty_auth_info = {{0}};
static const struct osmo_gsup_message empty_gsup_message = {0};
*gsup_msg = empty_gsup_message;