zte: fix warnings with -Wdiscarded-qualifiers

zte/mm-plugin-zte.c:54:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
     54 |     { "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
        |       ^~~~~~~~~~~~
  zte/mm-plugin-zte.c:55:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
     55 |     { "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
        |       ^~~~~~~~~~~~
  zte/mm-plugin-zte.c:56:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
     56 |     { "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
        |       ^~~~~~~~~~~~
This commit is contained in:
Aleksander Morgado
2020-01-30 18:52:01 +01:00
parent c1aac8ed26
commit b856f3625d

View File

@@ -51,9 +51,9 @@ MM_PLUGIN_DEFINE_MINOR_VERSION
* We use this command also for checking AT support in the port. * We use this command also for checking AT support in the port.
*/ */
static const MMPortProbeAtCommand custom_at_probe[] = { static const MMPortProbeAtCommand custom_at_probe[] = {
{ "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at }, { (gchar *) "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
{ "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at }, { (gchar *) "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
{ "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at }, { (gchar *) "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
{ NULL } { NULL }
}; };