pgsql: Eliminate unnecessary NULL checks in picksplit method of intarra - Mailing list pgsql-committers

From Kevin Grittner
Subject pgsql: Eliminate unnecessary NULL checks in picksplit method of intarra
Date
Msg-id E1YNTEJ-0006qb-GR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Eliminate unnecessary NULL checks in picksplit method of intarray.

Where these checks were being done there was no code path which
could leave them NULL.

Michael Paquier per Coverity

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c923e82a231ebfe7c4329984c68819e26837bee6

Modified Files
--------------
contrib/intarray/_int_gist.c |   16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix misuse of memcpy() in check_ip().
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script