summaryrefslogtreecommitdiff
path: root/src/lread.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-06-02 15:42:40 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-06-02 16:57:02 +0200
commit4bacd2a64575ccd55fd9ef8b4648f440243d597a (patch)
tree2aafefa91cd4228487abe529ec34c04db7447d34 /src/lread.c
parentba7c564bfe0eec84c845d3c7eef7785187433f90 (diff)
downloademacs-4bacd2a64575ccd55fd9ef8b4648f440243d597a.tar.gz
emacs-4bacd2a64575ccd55fd9ef8b4648f440243d597a.tar.bz2
emacs-4bacd2a64575ccd55fd9ef8b4648f440243d597a.zip
* src/lread.c (skip_lazy_string): Fix uninitialised variable.
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
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 ();