Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb695ae

Browse files
committed
Silence compiler warning.
Not all compilers understand that the elog(ERROR) never returns.David Rowley
1 parentf1169ab commitcb695ae

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+
returnNULL;/* keep compiler quiet */
163164
}
164165

165166
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp