diff options
author | John Rigby <john.rigby@linaro.org> | 2012-12-06 18:35:56 -0700 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-12-06 18:38:09 -0700 |
commit | 102afa29de951a2aca93e75fa84d596c92634d05 (patch) | |
tree | 7d22f85143d8bb5d76c19eb1b8fbd9c5eec52e15 | |
parent | 6f1911c6887c91e251db25bb9b823d2aa833b30f (diff) |
fix build error with disabled command line editing2012.12.1
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r-- | common/main.c | 2 |
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; /* |