Skip to content

Commit cb695ae

Browse files
committed
Silence compiler warning.
Not all compilers understand that the elog(ERROR) never returns. David Rowley
1 parent f1169ab commit cb695ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/libpq/crypt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ encrypt_password(PasswordType target_type, const char *role,
160160
* handle every combination of source and target password types.
161161
*/
162162
elog(ERROR, "cannot encrypt password to requested type");
163+
return NULL; /* keep compiler quiet */
163164
}
164165

165166
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy