diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-12-24 15:52:40 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-01-30 12:10:03 +0100 |
commit | 3575fe352812b6eb05298aef451b81adbc723ce1 (patch) | |
tree | 47edb459cfa21ef8ef5e165cb13822ec7a109008 /plugins/ublox/mm-modem-helpers-ublox.c | |
parent | 4b507f3255f89c9880388e73256198da5e3e2cb6 (diff) |
ublox,helpers: fix mixed declarations and code
ublox/mm-modem-helpers-ublox.c:1298:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
guint i, j, k;
^~~~~
Diffstat (limited to 'plugins/ublox/mm-modem-helpers-ublox.c')
-rw-r--r-- | plugins/ublox/mm-modem-helpers-ublox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.c b/plugins/ublox/mm-modem-helpers-ublox.c index 46b77ac7..662a19bd 100644 --- a/plugins/ublox/mm-modem-helpers-ublox.c +++ b/plugins/ublox/mm-modem-helpers-ublox.c @@ -1287,13 +1287,12 @@ mm_ublox_build_ubandsel_set_command (GArray *bands, GArray *ubandsel_nums; guint num; gboolean found; + guint i, j, k; if (bands->len == 1 && g_array_index (bands, MMModemBand, 0) == MM_MODEM_BAND_ANY) return g_strdup ("+UBANDSEL=0"); ubandsel_nums = g_array_sized_new (FALSE, FALSE, sizeof (guint), G_N_ELEMENTS (band_configuration)); - - guint i, j, k; for (i = 0; i < G_N_ELEMENTS (band_configuration); i++) { if (g_str_has_prefix (model, band_configuration[i].model)) |