Initialize the terminal escape buffer for GCC dataflow checks

Make the empty escape buffer explicit without changing incremental key handling. This removes the maybe-uninitialized warning found by the DGX Spark QA build.
This commit is contained in:
Salvatore Sanfilippo committed 2026-09-06 23:41:41 +02:00
1 parent 78c522e96b
commit d12898f4e2
1 file changed
+1 -1
+1 -1
View File
@@ -2263,7 +2263,7 @@ char *linenoiseEditFeed(struct linenoiseState *l) {
char c;
int nread;
char seq[32];
char seq[32] = {0};
size_t seq_len = 0;
if (l->paste_active)