Neil Conway <[EMAIL PROTECTED]> writes:
> This patch silences a GCC 4.0 warning about a potentially-uninitialized 
> variable in pl_comp.c,

AFAICT, gcc4's default behavior is to warn about 

        int     foo;

        somefunc(&foo);

which unfortunately is a very common usage that I'm not real thrilled
about having to fix every occurrence of.  I've been meaning to look into
whether they provided a pragma or something to mark function parameters
as output-only, so that this message could be suppressed where
appropriate without adding a lot of useless initializations.

In the meantime, I don't see the point of patching just one place.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to