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

Commit60ff5de

Browse files
committed
Suppress uninitialized-variable warning from less-bright compilers.
The type variable must get set on first iteration of the while loop,but there are reasonably modern gcc versions that don't realize that.Initialize it with a dummy value. This undoes a removal of initializationin commit654809e.
1 parentecfe1a1 commit60ff5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/jsonb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ JsonbToCString(StringInfo out, JsonbContainer *in, int estimated_len)
372372
{
373373
boolfirst= true;
374374
JsonbIterator*it;
375-
JsonbIteratorTokentype;
375+
JsonbIteratorTokentype=WJB_DONE;
376376
JsonbValuev;
377377
intlevel=0;
378378
boolredo_switch= false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp