aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index 237af78da..4f8e68f88 100644
--- a/common/main.c
+++ b/common/main.c
@@ -929,9 +929,9 @@ int readline (const char *const prompt)
int readline_into_buffer(const char *const prompt, char *buffer, int timeout)
{
char *p = buffer;
+ int rc;
#ifdef CONFIG_CMDLINE_EDITING
unsigned int len = CONFIG_SYS_CBSIZE;
- int rc;
static int initted = 0;
/*