diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-04-23 11:46:30 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-04-23 12:11:41 -0300 |
commit | dfce1f9e4eef3adcccbb23670fa1c432eebb0b90 (patch) | |
tree | 3387a158558f13ad1fc1f18228bf10b0a7136886 /src | |
parent | a5ab8928d7d9e2cf76ed0590efbd9795ea9e5b5e (diff) | |
download | postgresql-dfce1f9e4eef3adcccbb23670fa1c432eebb0b90.tar.gz postgresql-dfce1f9e4eef3adcccbb23670fa1c432eebb0b90.zip |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/partitioning/partprune.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backend/partitioning/partprune.c b/src/backend/partitioning/partprune.c index e1b5825f00c..f8844ef2eb6 100644 --- a/src/backend/partitioning/partprune.c +++ b/src/backend/partitioning/partprune.c @@ -836,10 +836,6 @@ gen_partprune_steps_internal(GeneratePruningStepsContext *context, case PARTCLAUSE_UNSUPPORTED: /* This clause cannot be used for pruning. */ break; - - default: - Assert(false); - break; } /* done; go check the next clause. */ |