From cb695ae993a38a0600a907154cfcc71285a9b9ef Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 2 Feb 2017 10:40:56 +0200 Subject: [PATCH] Silence compiler warning. Not all compilers understand that the elog(ERROR) never returns. David Rowley --- src/backend/libpq/crypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c index 893ce6e967..e7dd212355 100644 --- a/src/backend/libpq/crypt.c +++ b/src/backend/libpq/crypt.c @@ -160,6 +160,7 @@ encrypt_password(PasswordType target_type, const char *role, * handle every combination of source and target password types. */ elog(ERROR, "cannot encrypt password to requested type"); + return NULL; /* keep compiler quiet */ } /* -- 2.40.0