From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove duplicate variable initializations identified by clang |
Date: | 2009-08-30 16:53:45 |
Message-ID: | 20090830165345.2D1DD75331E@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Remove duplicate variable initializations identified by clang static checker.
One of these represents a nontrivial bug (a promptly-leaked palloc), so
backpatch.
Greg Stark
Tags:
----
REL8_3_STABLE
Modified Files:
--------------
pgsql/src/backend/tsearch:
regis.c (r1.4 -> r1.4.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/regis.c?r1=1.4&r2=1.4.2.1)
ts_parse.c (r1.7.2.1 -> r1.7.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_parse.c?r1=1.7.2.1&r2=1.7.2.2)
pgsql/src/backend/utils/adt:
encode.c (r1.20.2.1 -> r1.20.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/encode.c?r1=1.20.2.1&r2=1.20.2.2)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-08-30 17:18:52 | pgsql: Remove some useless assignments of the result of fread(). |
Previous Message | Tom Lane | 2009-08-30 16:53:38 | pgsql: Remove duplicate variable initializations identified by clang |