diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-23 16:20:19 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-23 16:20:19 +0200 |
commit | 5dc6797111ee9e570cb37d958a733d6fe4fa6595 (patch) | |
tree | 956b9666fbd82e1fceb35f4379874e466f3e007c /cli/qmicli-nas.c | |
parent | b08738cb394b6ed99c8b38ded63ccdb57f94fbdb (diff) |
cli: avoid redeclaration of variables
Diffstat (limited to 'cli/qmicli-nas.c')
-rw-r--r-- | cli/qmicli-nas.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cli/qmicli-nas.c b/cli/qmicli-nas.c index 7684dd7..47bbd71 100644 --- a/cli/qmicli-nas.c +++ b/cli/qmicli-nas.c @@ -141,18 +141,18 @@ qmicli_nas_options_enabled (void) } static void -context_free (Context *ctx) +context_free (Context *context) { - if (!ctx) + if (!context) return; - if (ctx->cancellable) - g_object_unref (ctx->cancellable); - if (ctx->device) - g_object_unref (ctx->device); - if (ctx->client) - g_object_unref (ctx->client); - g_slice_free (Context, ctx); + if (context->cancellable) + g_object_unref (context->cancellable); + if (context->device) + g_object_unref (context->device); + if (context->client) + g_object_unref (context->client); + g_slice_free (Context, context); } static void |