]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/lread.c (skip_lazy_string): Fix uninitialised variable.
authorMattias Engdegård <mattiase@acm.org>
Thu, 2 Jun 2022 13:42:40 +0000 (15:42 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 2 Jun 2022 14:57:02 +0000 (16:57 +0200)
src/lread.c

index 158ac3604231c93d042171fd9c30bea62014378c..52fc0fff307d333dd4524d4082105c148f1484e4 100644 (file)
@@ -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 ();