File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -138,18 +138,6 @@ JsonFree(Json *json)
138
138
pfree (json );
139
139
}
140
140
141
- Json *
142
- JsonCopyTemporary (Json * tmp )
143
- {
144
- Json * json = (Json * ) palloc (sizeof (Json ));
145
-
146
- memcpy (json , tmp , sizeof (Json ));
147
- tmp -> obj .freeValue = false;
148
- json -> obj .isTemporary = false;
149
-
150
- return json ;
151
- }
152
-
153
141
Json *
154
142
JsonValueToJson (JsonValue * val )
155
143
{
Original file line number Diff line number Diff line change @@ -218,12 +218,6 @@ JsonIteratorFree(JsonIterator *it)
218
218
it = JsonIteratorFreeAndGetParent (it );
219
219
}
220
220
221
- static inline Json *
222
- JsonGetNonTemporary (Json * json )
223
- {
224
- return JsonIsTemporary (json ) ? JsonCopyTemporary (json ) : json ;
225
- }
226
-
227
221
extern Json * JsonValueToJson (JsonValue * val );
228
222
extern JsonValue * JsonToJsonValue (Json * json , JsonValue * jv );
229
223
extern JsonValue * JsonValueUnpackBinary (const JsonValue * jbv );
You can’t perform that action at this time.
0 commit comments