diff options
author | Noah Misch <noah@leadboat.com> | 2015-10-11 23:53:35 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-10-12 10:12:44 -0400 |
commit | 22c5705f81717dd0622ebfb13a617e6104d1fbd9 (patch) | |
tree | 75f5a3c90ddb5ea121cccc1759f9cf2807d8c1a6 /src/backend/utils/adt/jsonb.c | |
parent | c9853e647f247e0bbae1294b24fac40ec7c34550 (diff) |
Use JsonbIteratorToken consistently in automatic variable declarations.
Many functions stored JsonbIteratorToken values in variables of other
integer types. Also, standardize order relative to other declarations.
Expect compilers to generate the same code before and after this change.
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
-rw-r--r-- | src/backend/utils/adt/jsonb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/jsonb.c b/src/backend/utils/adt/jsonb.c index 1d65b251895..b8a37725738 100644 --- a/src/backend/utils/adt/jsonb.c +++ b/src/backend/utils/adt/jsonb.c @@ -372,8 +372,8 @@ JsonbToCString(StringInfo out, JsonbContainer *in, int estimated_len) { bool first = true; JsonbIterator *it; - JsonbIteratorToken type = WJB_DONE; JsonbValue v; + JsonbIteratorToken type = WJB_DONE; int level = 0; bool redo_switch = false; |