contrib/ sparse code cleanup

Started by Neil Conwayalmost 22 years ago3 messagespatches
Jump to latest
#1Neil Conway
neilc@samurai.com

[ Oleg, I've CC'd you because this patch makes some modifications,
albeit trivial ones, to tsearch2; let me know if you object to me
applying it ]

This patch makes some cleanups to contrib/ to silence some sparse
warnings:

- remove pointless "extern" keyword from some function definitions in
contrib/tsearch2

- use "NULL" not "0" as NULL pointer in contrib/tsearch,
contrib/tsearch2, contrib/pgbench, and contrib/vacuumlo

Barring any objections I will apply this tomorrow.

-Neil

Attachments:

contrib_sparse_cleanup-2.patchtext/x-patch; charset=ISO-8859-1; name=contrib_sparse_cleanup-2.patchDownload+39-39
#2Oleg Bartunov
oleg@sai.msu.su
In reply to: Neil Conway (#1)
Re: contrib/ sparse code cleanup

Neil,

go ahead !

Oleg
On Fri, 5 Nov 2004, Neil Conway wrote:

[ Oleg, I've CC'd you because this patch makes some modifications,
albeit trivial ones, to tsearch2; let me know if you object to me
applying it ]

This patch makes some cleanups to contrib/ to silence some sparse
warnings:

- remove pointless "extern" keyword from some function definitions in
contrib/tsearch2

- use "NULL" not "0" as NULL pointer in contrib/tsearch,
contrib/tsearch2, contrib/pgbench, and contrib/vacuumlo

Barring any objections I will apply this tomorrow.

-Neil

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

#3Neil Conway
neilc@samurai.com
In reply to: Neil Conway (#1)
Re: contrib/ sparse code cleanup

On Fri, 2004-11-05 at 15:21, Neil Conway wrote:

This patch makes some cleanups to contrib/ to silence some sparse
warnings

Applied.

-Neil