pgsql: Remove useless default clause in switch - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Remove useless default clause in switch
Date
Msg-id E1fAd8s-0003wZ-AV@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Remove useless default clause in switch  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: pgsql: Make bms_prev_member work correctly with a 64 bit bitmapword
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Make Emacs settings match perltidy configuration