mirror of
https://github.com/postgres/postgres.git
synced 2025-05-12 16:21:30 +03:00
Silence compiler warning.
Not all compilers understand that the elog(ERROR) never returns. David Rowley
This commit is contained in:
parent
f1169ab501
commit
cb695ae993
@ -160,6 +160,7 @@ encrypt_password(PasswordType target_type, const char *role,
|
|||||||
* handle every combination of source and target password types.
|
* handle every combination of source and target password types.
|
||||||
*/
|
*/
|
||||||
elog(ERROR, "cannot encrypt password to requested type");
|
elog(ERROR, "cannot encrypt password to requested type");
|
||||||
|
return NULL; /* keep compiler quiet */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user