void * cast cleanup - Mailing list pgsql-patches

From Neil Conway
Subject void * cast cleanup
Date
Msg-id 1096242764.25688.689.camel@localhost.localdomain
Whole thread Raw
Responses Re: void * cast cleanup
Re: void * cast cleanup
List pgsql-patches
This patch removes a few instances where a pointer type was being
explicitly cast to void * when pfree() was called. Per ANSI89, this is
redundant: any pointer type can be assigned to void *, and vice versa,
without a cast. IMHO adding the cast in this case serves only to make
the code harder to read.

Would anyone object to me removing some more void * casts, e.g. the
parameters to the various _walker functions?

-Neil


Attachment

pgsql-patches by date:

Previous
From: "Koju Iijima"
Date:
Subject: patch for temporary view from TODO list
Next
From: Neil Conway
Date:
Subject: minor list cleanup