Skip to content

Commit

Permalink
Backport PR pandas-dev#31482: BUG: objToJson.c - fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
alimcmaster1 authored and meeseeksmachine committed Feb 2, 2020
1 parent 4082c46 commit 5062d85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v1.0.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ExtensionArray

Other
^^^^^
-
- Regression fixed in objTOJSON.c fix return-type warning (:issue:`31463`)
-

.. ---------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions pandas/_libs/src/ujson/python/objToJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ void *initObjToJSON(void) {

/* Initialise numpy API */
import_array();
// GH 31463
return NULL;
}

static TypeContext *createTypeContext(void) {
Expand Down

0 comments on commit 5062d85

Please sign in to comment.