aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini2024-07-15 12:28:22 -0600
committerTom Rini2024-07-15 12:28:22 -0600
commitaf3c2166d54cdb71914baece900095bad5a44862 (patch)
treefb3305c01cc31f9d81ff9822486daa6f6243f98e /env
parentc00018507d9923b9137be4b89eb3c3110708a096 (diff)
parent3451b69e33dd3c862d9a843ed22c06c3184136b8 (diff)
Merge patch series "api: Remove duplicate newlines"
This removes a number of duplicate newlines throughout the codebase.
Diffstat (limited to 'env')
-rw-r--r--env/common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/env/common.c b/env/common.c
index d8c276dddfd..8d47d726059 100644
--- a/env/common.c
+++ b/env/common.c
@@ -394,7 +394,6 @@ void env_set_default(const char *s, int flags)
gd->flags |= GD_FLG_ENV_DEFAULT;
}
-
/* [re]set individual variables to their value in the default environment */
int env_set_default_vars(int nvars, char * const vars[], int flags)
{
@@ -588,7 +587,6 @@ int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf,
found = 0;
cmdv[0] = NULL;
-
while ((idx = hmatch_r(var, idx, &match, &env_htab))) {
int vallen = strlen(match->key) + 1;