]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cli_readline.c
Merge branch 'master' of git://git.denx.de/u-boot-net
[people/ms/u-boot.git] / common / cli_readline.c
index 9a9fb35b712b09c8a9a416796c6df1ea27c7f1a0..c1476e42d95688cab1a1f9128d483027c4cfab09 100644 (file)
@@ -597,7 +597,7 @@ int cli_readline_into_buffer(const char *const prompt, char *buffer,
                                        puts(tab_seq + (col & 07));
                                        col += 8 - (col & 07);
                                } else {
-                                       char buf[2];
+                                       char __maybe_unused buf[2];
 
                                        /*
                                         * Echo input using puts() to force an