Permalink
Browse files

Fixed gcc Wmaybe-uninitialized

  • Loading branch information...
1 parent 7ebe794 commit 5ccc46b7faa6a15ae05d7597e8bf32ffdbb750fa @theirix committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/json_accessors.c
View
@@ -324,7 +324,7 @@ Datum json_array_to_array_generic_impl(cJSON *jsonArray, int json_type, Oid elem
*/
Datum json_array_to_array_generic(text *argJson, int json_type, Oid elem_oid, pextract_type_from_json extractor)
{
- Datum result;
+ Datum result = (Datum)NULL;
char *strJson;
cJSON *root;

0 comments on commit 5ccc46b

Please sign in to comment.