Commit cb695ae9 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Silence compiler warning.

Not all compilers understand that the elog(ERROR) never returns.

David Rowley
parent f1169ab5
...@@ -160,6 +160,7 @@ encrypt_password(PasswordType target_type, const char *role, ...@@ -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 */
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment