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:
1 parent
78c522e96b
commit
d12898f4e2
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user