Khem Raj
2b18af89b4
Do not pass null string to %s printf formatted string
...
Here the string is already decided to be NULL and passing
a null pointer to %s will not work
Fixes
error: '%s' directive argument is null
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-12-18 23:30:10 -08:00
Ben Chan
7de6b6f2e1
core: remove unnecessary NULL checks for g_match_info_free()
...
g_match_info_free() already check if the given pointer is NULL and does
nothing on a NULL pointer.
2018-10-18 13:17:36 +02:00
Ben Chan
fea6835592
mtk: port disable_unsolicited_events to use GTask
2017-09-28 10:39:25 +02:00
Ben Chan
fe58e5f498
mtk: port enable_unsolicited_events to use GTask
2017-09-28 10:39:25 +02:00
Ben Chan
bfac21fbb8
mtk: port modem_3gpp_{setup,cleanup}_unsolicited_events to use GTask
2017-09-28 10:39:25 +02:00
Ben Chan
42bde89bae
mtk: port modem_after_sim_unlock to use GTask
2017-09-28 10:39:25 +02:00
Ben Chan
3b2873148c
mtk: port set_current_modes to use GTask
2017-09-28 10:39:25 +02:00
Ben Chan
996612f8db
mtk: port load_supported_modes to use GTask
2017-09-28 10:39:25 +02:00
Ben Chan
2991ae0e86
mtk: port load_unlock_retries to use GTask
2017-09-28 10:39:25 +02:00
Aleksander Morgado
e2246da507
mtk: fix async completion in 3gpp event handlers setting
2017-07-17 10:20:17 +02:00
Aleksander Morgado
2eb55d3224
plugins: use G_N_ELEMENTS when iterating ports array
2017-05-30 17:28:23 +02:00
Ben Chan
254f2e3412
plugins: remove explicit GDestroyNotify cast on g_free / g_object_unref
...
g_free and g_object_unref are in form of `void (*)(gpointer)`, which
matches the GDestroyNotify signature. An explicit GDestroyNotify cast on
g_free and g_object_unref is thus not needed.
2017-03-29 10:22:18 +02:00
Aleksander Morgado
ffde429843
core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs
2015-12-02 17:07:39 +01:00
Ben Chan
4669611412
broadband-modem,plugins: fix GMatchInfo leaks
2014-08-12 09:45:50 +02:00
Aleksander Morgado
6f235b9948
ports: rename 'MMAtSerialPort' to 'MMPortSerialAt'
2014-02-13 13:40:01 +01:00
Quentin.Li
c22eca999b
mtk: add plugin for various MediaTek devices
...
Signed-off-by: Quentin.Li <snowmanli88@gmail.com >
2013-09-16 11:53:58 -05:00