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

Commit26812bc

Browse files
committed
Fix compiler warning in back branches (9.6, 10).
Back-patch a tiny bit of commitfbb2e9a into 9.6 and 10, to silence anuninitialized variable warning from GCC 10.2. Seen on buildfarm memberhandfish, and my own development workflow where I like to use -Werror.Discussion:https://postgr.es/m/CA%2BhUKGJRcwvK86Uf5t-FrTekZjqHtpv3u%3D3MuBg8Zw8R933Mqg%40mail.gmail.com
1 parent800131d commit26812bc

File tree

1 file changed

+2
-0
lines changed
  • src/backend/utils/misc

1 file changed

+2
-0
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9437,6 +9437,8 @@ RestoreGUCState(void *gucstate)
94379437
if (varsourcefile[0])
94389438
read_gucstate_binary(&srcptr,srcend,
94399439
&varsourceline,sizeof(varsourceline));
9440+
else
9441+
varsourceline=0;
94409442
read_gucstate_binary(&srcptr,srcend,
94419443
&varsource,sizeof(varsource));
94429444
read_gucstate_binary(&srcptr,srcend,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp