From e388674a94dcf178f07d5f4f503f79cae5d22c07 Mon Sep 17 00:00:00 2001 From: Castulo Martinez Date: Fri, 8 Jun 2018 10:37:47 -0700 Subject: [PATCH] Renaming variable for consistency Renaming a variable from camel case to snake case to keep consistency with the project. --- src/bundle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bundle.c b/src/bundle.c index edde93ec..80ecb85a 100644 --- a/src/bundle.c +++ b/src/bundle.c @@ -419,7 +419,7 @@ int remove_bundles(char **bundles) { int lock_fd; int ret = 0; - int retCode = 0; + int ret_code = 0; int bad = 0; int total = 0; int current_version = CURRENT_OS_VERSION; @@ -573,7 +573,7 @@ int remove_bundles(char **bundles) ret); if (ret) { fprintf(stderr, "Error: Bundle remove failed\n"); - retCode = ret; + ret_code = ret; } } @@ -585,7 +585,7 @@ int remove_bundles(char **bundles) swupd_deinit(lock_fd, &subs); - return retCode; + return ret_code; } /* bitmapped return