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.
case PASSWORD_TYPE_MD5:
return pstrdup(password);
}
+ break;
case PASSWORD_TYPE_SCRAM:
switch (guessed_type)
case PASSWORD_TYPE_SCRAM:
return pstrdup(password);
}
+ break;
}
/*