Add "break"s to make it clearer what will happen in a nested switch.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 766f7fd613adbceaf1b40803793e10dc487f8596
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-03-12T20:01:33Z
Releases: 10.0
Add "break"s to make it clearer what will happen in a nested switch.

This could only matter if the guessed_type variable had a value that wasn't
a member of the PasswordType enum; but just in case, let's be sure that
control falls out to reach the elog(ERROR) at the end of the function.
Per gripe from Coverity.

Files

PathChange+/−
src/backend/libpq/crypt.c modified +2 −0