Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdfce1f9

Browse files
committed
Remove useless default clause in switch
The switch covers all values of the enum driver variable, so having adefault: clause is useless, even if it's only to do Assert(false).
1 parenta5ab892 commitdfce1f9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎src/backend/partitioning/partprune.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -836,10 +836,6 @@ gen_partprune_steps_internal(GeneratePruningStepsContext *context,
836836
casePARTCLAUSE_UNSUPPORTED:
837837
/* This clause cannot be used for pruning. */
838838
break;
839-
840-
default:
841-
Assert(false);
842-
break;
843839
}
844840

845841
/* done; go check the next clause. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp