maint: avoid false positive warning with newer gcc

* src/pr.c (read_line): GCC 13.2.1 can't discern that CHARS
is not used with '\n', so avoid the -Werror=maybe-uninitialized
issue in dev builds.
This commit is contained in:
Pádraig Brady committed 2023-12-17 17:19:29 +00:00
1 parent 63e9f1ae61
commit c343bee1b5
1 file changed
+1 -1
+1 -1
View File
@@ -2425,7 +2425,7 @@ static bool
read_line (COLUMN *p)
{
int c;
int chars;
int chars IF_LINT (= 0);
int last_input_position;
int j, k;
COLUMN *q;