pgsql: Eliminate unnecessary NULL checks in picksplit method of intarra

From: Kevin Grittner <kgrittn(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Eliminate unnecessary NULL checks in picksplit method of intarra
Date: 2015-02-16 21:29:23
Message-ID: E1YNTEJ-0006qb-GR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2015-02-16 21:44:35 Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script
Previous Message Tom Lane 2015-02-16 21:18:48 pgsql: Fix misuse of memcpy() in check_ip().