Content-Length: 255253 | pFad | http://github.com/postgrespro/postgres/commit/cb695ae993a38a0600a907154cfcc71285a9b9ef

B8 Silence compiler warning. · postgrespro/postgres@cb695ae · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/cb695ae993a38a0600a907154cfcc71285a9b9ef

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy