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

Commit91624c2

Browse files
committed
Fix compilation warnings in cryptohash_openssl.c
These showed up with -O2. Oversight in87ae969.Author: Fujii MasaoDiscussion:https://postgr.es/m/cee3df00-566a-400c-1252-67c3701f918a@oss.nttdata.com
1 parent942305a commit91624c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/common/cryptohash_openssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pg_cryptohash_init(pg_cryptohash_ctx *ctx)
119119
int
120120
pg_cryptohash_update(pg_cryptohash_ctx*ctx,constuint8*data,size_tlen)
121121
{
122-
intstatus;
122+
intstatus=0;
123123

124124
if (ctx==NULL)
125125
return0;
@@ -154,7 +154,7 @@ pg_cryptohash_update(pg_cryptohash_ctx *ctx, const uint8 *data, size_t len)
154154
int
155155
pg_cryptohash_final(pg_cryptohash_ctx*ctx,uint8*dest)
156156
{
157-
intstatus;
157+
intstatus=0;
158158

159159
if (ctx==NULL)
160160
return0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp