Skip to content

Commit 677da0e

Browse files
committed
remove UB
1 parent 57ed286 commit 677da0e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/_libs/src/vendored/ujson/python/objToJSON.c

-3
Original file line numberDiff line numberDiff line change
@@ -2062,8 +2062,5 @@ PyObject *objToJSON(PyObject *Py_UNUSED(self), PyObject *args,
20622062
encoder->free(ret);
20632063
}
20642064

2065-
int myvar = INT_MAX;
2066-
printf("This value should overflow: %d\n", myvar + 1);
2067-
20682065
return newobj;
20692066
}

0 commit comments

Comments
 (0)