Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch
Date
Msg-id 10558.1243525323@sss.pgh.pa.us
Whole thread Raw
In response to Compiler warning cleanup - unitilized const variables, pointer type mismatch  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> I attached another cleanup patch which fixes following warnings reported
> by Sun Studio:

I'm not too impressed with any of these.  The proposed added
initializers just increase future maintenance effort without solving
any real problem (since the variables are required by C standard to
initialize to zero).  The proposed signature change on psql_completion
is going to replace a warning on your system with outright failures on
other people's.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: User-facing aspects of serializable transactions
Next
From: Robert Haas
Date:
Subject: Re: PostgreSQL Developer meeting minutes up