Skip to content

Commit

Permalink
BUG: objToJson.c - fix return value (#31482)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimcmaster1 committed Feb 2, 2020
1 parent 36f7e22 commit 119360d
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 @@ -128,7 +128,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 @@ -177,6 +177,8 @@ void *initObjToJSON(void) {

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

static TypeContext *createTypeContext(void) {
Expand Down

0 comments on commit 119360d

Please sign in to comment.