Skip site navigation (1) Skip section navigation (2)

pgsql: Remove duplicate variable initializations identified by clang

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:31
Message-ID: 20090830165331.DFDF275331E@cvs.postgresql.org (view raw or flat)
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

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        regis.c (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/regis.c?r1=1.7&r2=1.8)
        ts_parse.c (r1.14 -> r1.15)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_parse.c?r1=1.14&r2=1.15)
    pgsql/src/backend/utils/adt:
        encode.c (r1.24 -> r1.25)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/encode.c?r1=1.24&r2=1.25)

pgsql-committers by date

Next:From: Tom LaneDate: 2009-08-30 16:53:38
Subject: pgsql: Remove duplicate variable initializations identified by clang
Previous:From: Tom LaneDate: 2009-08-29 19:26:52
Subject: pgsql: Remove the use of the pg_auth flat file for client

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group