diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-07-13 16:55:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-07-17 07:44:11 +0000 |
commit | 505adee93bad5c12e7435d09a191d9d6221d09b3 (patch) | |
tree | b666622880b96af641b069ea1eef7a041f017b8c /src/gsm | |
parent | 511b448fe3a8522d645499b7d0b93b5acb1b3776 (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
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/gsup.c | 2 |
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; |