[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master a99ba59aa02: ; * src/pdumper.c (dump_do_fixup): Pacify GCC.
From: |
Eli Zaretskii |
Subject: |
Re: master a99ba59aa02: ; * src/pdumper.c (dump_do_fixup): Pacify GCC. |
Date: |
Thu, 30 Jan 2025 13:17:47 +0200 |
> Date: Thu, 30 Jan 2025 10:51:34 +0000
> From: Pip Cet <pipcet@protonmail.com>
> Cc: emacs-devel@gnu.org, stefankangas@gmail.com, eggert@cs.ucla.edu
>
> "Eli Zaretskii" <eliz@gnu.org> writes:
>
> > compiler which evidently cannot figure out that dump_value is not
> > initialized only in the cases where dump_write is false, which means
> > dump_write is not called, and the value of dump_value is not used.
>
> THat's incorrect. If type is 0x5a, for example, do_write will be true,
> dump_value will be uninitialized, and dump_write will be called with a
> pointer to the uninitialized dump_value.
0x5a is an impossible value.