env: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
2
env/common.c
vendored
2
env/common.c
vendored
@@ -394,7 +394,6 @@ void env_set_default(const char *s, int flags)
|
|||||||
gd->flags |= GD_FLG_ENV_DEFAULT;
|
gd->flags |= GD_FLG_ENV_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* [re]set individual variables to their value in the default environment */
|
/* [re]set individual variables to their value in the default environment */
|
||||||
int env_set_default_vars(int nvars, char * const vars[], int flags)
|
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;
|
found = 0;
|
||||||
cmdv[0] = NULL;
|
cmdv[0] = NULL;
|
||||||
|
|
||||||
|
|
||||||
while ((idx = hmatch_r(var, idx, &match, &env_htab))) {
|
while ((idx = hmatch_r(var, idx, &match, &env_htab))) {
|
||||||
int vallen = strlen(match->key) + 1;
|
int vallen = strlen(match->key) + 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user