aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-07-07 18:15:50 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-07-07 18:29:10 +0200
commitfafafd023675ad337d71b7c92e85f397e659929d (patch)
tree73008a57564917b18bb33abf6ba25ea2982440be
parentc3d6ed463c42f4f1da689d1faf4d09073f331355 (diff)
downloadexternal_libqmi-fafafd023675ad337d71b7c92e85f397e659929d.zip
external_libqmi-fafafd023675ad337d71b7c92e85f397e659929d.tar.gz
external_libqmi-fafafd023675ad337d71b7c92e85f397e659929d.tar.bz2
qmicli: remove unused user_data in qmi_device_new() callback
Reported-by: Jing Chen <jing.chen@spirent.com>
-rw-r--r--src/qmicli/qmicli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmicli/qmicli.c b/src/qmicli/qmicli.c
index 85c2faa..9f499bc 100644
--- a/src/qmicli/qmicli.c
+++ b/src/qmicli/qmicli.c
@@ -760,7 +760,7 @@ int main (int argc, char **argv)
qmi_device_new (file,
cancellable,
(GAsyncReadyCallback)device_new_ready,
- GUINT_TO_POINTER (service));
+ NULL);
g_main_loop_run (loop);
if (cancellable)