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

Commit726cc42

Browse files
committed
Suppress compiler warning in non-SSL, non-assert builds.
Jeff Janes, reviewed by Michael Paquier.Discussion:https://postgr.es/m/CAMkU=1x8taZfsbPkv_MsWbTtzibW_yQHXoMhF_DTtm=z2hVHDg@mail.gmail.com
1 parent7b37f4b commit726cc42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎contrib/pgcrypto/imath.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* - rename DEBUG to IMATH_DEBUG
1919
* - replace stdint.h usage with c.h equivalents
2020
* - suppress MSVC warning 4146
21+
* - add required PG_USED_FOR_ASSERTS_ONLY
2122
*
2223
* 2. Download a newer imath.c and imath.h. Transform them like in step 1.
2324
* Apply to these files the diff you saved in step 1. Look for new lines
@@ -2587,7 +2588,7 @@ s_ksqr(mp_digit *da, mp_digit *dc, mp_size size_a)
25872588
mp_digit*t1,
25882589
*t2,
25892590
*t3,
2590-
carry;
2591+
carryPG_USED_FOR_ASSERTS_ONLY;
25912592
mp_sizeat_size=size_a-bot_size;
25922593
mp_sizebuf_size=2*bot_size;
25932594

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp