contrib/ sparse code cleanup

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Cc: oleg(at)sai(dot)msu(dot)su
Subject: contrib/ sparse code cleanup
Date: 2004-11-05 04:21:01
Message-ID: 1099628461.10449.35.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

[ 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

Attachment Content-Type Size
contrib_sparse_cleanup-2.patch text/x-patch 6.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-11-05 05:41:00 GiST: memory allocation, cleanup
Previous Message Christopher Browne 2004-11-05 01:57:34 Re: CVS should die