aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-02-02 10:40:56 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-02-02 10:42:37 +0200
commitcb695ae993a38a0600a907154cfcc71285a9b9ef (patch)
tree2d92377d567ca17dfa160ddf184f9662fb072f0b /src
parentf1169ab501ce90e035a7c6489013a1d4c250ac92 (diff)
downloadpostgresql-cb695ae993a38a0600a907154cfcc71285a9b9ef.tar.gz
postgresql-cb695ae993a38a0600a907154cfcc71285a9b9ef.zip
Silence compiler warning.
Not all compilers understand that the elog(ERROR) never returns. David Rowley
Diffstat (limited to 'src')
-rw-r--r--src/backend/libpq/crypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c
index 893ce6e967b..e7dd212355d 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 */
}
/*