assorted code cleanup

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: assorted code cleanup
Date: 2017-08-17 16:56:23
Message-ID: 2beab0ef-69f9-dab3-cacd-8fdf417bca96@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here are a few assorted patches I made while working on the stdbool set,
cleaning up various pieces of dead code and weird styles.

- Drop excessive dereferencing of function pointers
- Remove endof macro
- Remove unnecessary casts
- Remove unnecessary parentheses in return statements
- Remove our own definition of NULL
- fuzzystrmatch: Remove dead code

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-fuzzystrmatch-Remove-dead-code.patch text/plain 2.7 KB
0002-Remove-our-own-definition-of-NULL.patch text/plain 1.4 KB
0003-Remove-unnecessary-parentheses-in-return-statements.patch text/plain 74.8 KB
0004-Remove-unnecessary-casts.patch text/plain 1.2 KB
0005-Remove-endof-macro.patch text/plain 1.5 KB
0006-Drop-excessive-dereferencing-of-function-pointers.patch text/plain 67.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-08-17 17:50:47 Re: [HACKERS] [postgresql 10 beta3] unrecognized node type: 90
Previous Message Tom Lane 2017-08-17 16:15:58 Re: pl/perl extension fails on Windows