diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-01-14 10:22:33 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-01-31 14:52:49 +0100 |
commit | 7655f3b35c2f732bacb7a27633c15e107c43234c (patch) | |
tree | 25703bc9aba641c8d7a9f904f41409238954c15b /plugins | |
parent | b0f9ddd295f432e4de31ce613da96a6281ca3eb6 (diff) |
telit: fix warnings with -Wdiscarded-qualifiers
telit/tests/test-mm-modem-helpers-telit.c:48:9: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
48 | "#BND: (0-3)", TRUE, FALSE, FALSE, FALSE, 4,
| ^~~~~~~~~~~~~
...
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/telit/tests/test-mm-modem-helpers-telit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/telit/tests/test-mm-modem-helpers-telit.c b/plugins/telit/tests/test-mm-modem-helpers-telit.c index c9c30e57..ef257441 100644 --- a/plugins/telit/tests/test-mm-modem-helpers-telit.c +++ b/plugins/telit/tests/test-mm-modem-helpers-telit.c @@ -34,7 +34,7 @@ #define MAX_BANDS_LIST_LEN 17 typedef struct { - gchar *response; + const gchar *response; gboolean modem_is_2g; gboolean modem_is_3g; gboolean modem_is_4g; |