mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 00:02:26 -04:00
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).
This commit is contained in:
parent
a5ab8928d7
commit
dfce1f9e4e
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user