diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-04-03 21:11:58 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-04-03 21:12:18 +0200 |
commit | 6d543dee09fed877b8d27393bf2857bfad7e37c6 (patch) | |
tree | eb9b8992d24ad375faa6321fbcfe3dd9e49fc1ff | |
parent | d8430a86f28ca15240c925cd7a0ef18218e6f727 (diff) |
qmicli,nas: avoid redefining 'index'
qmicli-nas.c: In function 'get_lte_cphy_ca_info_ready':
qmicli-nas.c:2780:12: error: declaration of 'index' shadows a global declaration [-Werror=shadow]
cc1: all warnings being treated as errors
make[7]: *** [qmicli-qmicli-nas.o] Error 1
-rw-r--r-- | src/qmicli/qmicli-nas.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c index 10e6b23..18402c9 100644 --- a/src/qmicli/qmicli-nas.c +++ b/src/qmicli/qmicli-nas.c @@ -2777,7 +2777,7 @@ get_lte_cphy_ca_info_ready (QmiClientNas *client, QmiNasDLBandwidth dl_bandwidth; QmiNasActiveBand band; QmiNasScellState state; - guint8 index; + guint8 scell_index; output = qmi_client_nas_get_lte_cphy_ca_info_finish (client, res, &error); if (!output) { @@ -2845,9 +2845,9 @@ get_lte_cphy_ca_info_ready (QmiClientNas *client, if (qmi_message_nas_get_lte_cphy_ca_info_output_get_scell_index ( output, - &index, + &scell_index, NULL)) { - g_print ("Secondary Cell index: '%u'\n", index); + g_print ("Secondary Cell index: '%u'\n", scell_index); } qmi_message_nas_get_lte_cphy_ca_info_output_unref (output); |