[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doesn't this look incorrect?
From: |
tomas |
Subject: |
Re: doesn't this look incorrect? |
Date: |
Mon, 28 Nov 2022 06:30:22 +0100 |
On Mon, Nov 28, 2022 at 06:26:19AM +0100, Óscar Fuentes wrote:
> Christopher Plewright <chris@createng.com> writes:
>
> > See Lines 9733 to 9735: in emacs: src/w32fns.c
> >
> > static int isdead = 0;
> >
> > if (isdead == 2)
> >
> > This is apparently a mistake.
>
> I don't think so. See what `static' means for a variable declaration
> inside a function.
Still it seems to me that Christopher has a point: the `if' doesn't
seem reachable from any other path, so `isdead' will be always zero
at that point?
Cheers
--
t
signature.asc
Description: PGP signature