From 4bacd2a64575ccd55fd9ef8b4648f440243d597a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 2 Jun 2022 15:42:40 +0200 Subject: [PATCH] * src/lread.c (skip_lazy_string): Fix uninitialised variable. --- src/lread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lread.c b/src/lread.c index 158ac360423..52fc0fff307 100644 --- a/src/lread.c +++ b/src/lread.c @@ -3480,7 +3480,7 @@ skip_lazy_string (Lisp_Object readcharfun) /* Copy that many bytes into saved_doc_string. */ ptrdiff_t i = 0; - int c; + int c = 0; for (int n = min (nskip, infile->lookahead); n > 0; n--) saved_doc_string[i++] = c = infile->buf[--infile->lookahead]; block_input (); -- 2.39.2