novatel-lte: fix warnings with -Wdiscarded-qualifiers
novatel/mm-broadband-modem-novatel-lte.c:249:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
249 | { "+CNUM", 3, TRUE, response_processor_cnum_ignore_at_errors },
| ^~~~~~~
novatel/mm-broadband-modem-novatel-lte.c:250:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
250 | { "$NWMDN", 3, TRUE, response_processor_nwmdn_ignore_at_errors },
| ^~~~~~~~
This commit is contained in:
@@ -246,8 +246,8 @@ response_processor_nwmdn_ignore_at_errors (MMBaseModem *self,
|
||||
}
|
||||
|
||||
static const MMBaseModemAtCommand own_numbers_commands[] = {
|
||||
{ "+CNUM", 3, TRUE, response_processor_cnum_ignore_at_errors },
|
||||
{ "$NWMDN", 3, TRUE, response_processor_nwmdn_ignore_at_errors },
|
||||
{ (gchar *) "+CNUM", 3, TRUE, response_processor_cnum_ignore_at_errors },
|
||||
{ (gchar *) "$NWMDN", 3, TRUE, response_processor_nwmdn_ignore_at_errors },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user