From fafafd023675ad337d71b7c92e85f397e659929d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 7 Jul 2016 18:15:50 +0200 Subject: qmicli: remove unused user_data in qmi_device_new() callback Reported-by: Jing Chen --- src/qmicli/qmicli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qmicli') 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) -- cgit v1.1