]> git.eshelyaron.com Git - emacs.git/commit
Pacify warnings from gcc 12 in encode_coding_object
authorMatt Armstrong <matt@rfc20.org>
Mon, 15 Aug 2022 06:56:57 +0000 (08:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 15 Aug 2022 06:56:57 +0000 (08:56 +0200)
commit79c0e78460b86d6efef31f65dcb16ab6b89b8551
treeb440a7b603c77407a5ec88335d0e4b3e4773bbfb
parentead4b914ca7cc68d4e6f9edb8a959309a76acc3a
Pacify warnings from gcc 12 in encode_coding_object

* src/coding.c (encode_coding_object): Mark saved_pt_byte with UNINIT
to silence a false alarm from -Wmaybe-uninitialized.  This was already
done in decode_coding_object.  The fix is correct because saved_pt is
used as a sentinel before saved_pt_byte is used (bug#57219).
src/coding.c