From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove useless default clause in switch
Date: Mon, 23 Apr 2018 15:12:34 +0000
Message-ID: <E1fAd8s-0003wZ-AV@gemulon.postgresql.org> (raw)
Remove useless default clause in switch
The switch covers all values of the enum driver variable, so having a
default: clause is useless, even if it's only to do Assert(false).
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/dfce1f9e4eef3adcccbb23670fa1c432eebb0b90
Modified Files
--------------
src/backend/partitioning/partprune.c | 4 ----
1 file changed, 4 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Remove useless default clause in switch
In-Reply-To: <E1fAd8s-0003wZ-AV@gemulon.postgresql.org>
References: <E1fAd8s-0003wZ-AV@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox