On Tue, Apr 22, 2014 at 2:43 PM, Stefan Sperling <s...@openbsd.org> wrote:
> Your regression test has at least one bug ('bad' is never initialised).

It's perhaps bad *style* to not explicitly initialize it, but C99
6.7.8p10 says "If an object that has static storage duration is not
initialized explicitly, then: [...] if it has arithmetic type, it is
initialized to (positive or unsigned) zero".  So technically not a
bug. :)

Reply via email to