]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cli_readline.c
spl, common, serial: build SPL without serial support
[karo-tx-uboot.git] / common / cli_readline.c
index 4e821a5cfcf0c963b16b13041372b1896e551851..4c7a849862f227827de77546446643d5b9db4e02 100644 (file)
@@ -603,7 +603,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