Skip to content

Commit a62fdf8

Browse files
authored
BLD: remove more build warnings (#15191)
1 parent c689a8a commit a62fdf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/src/numpy_helper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ PyObject* sarr_from_data(PyArray_Descr* descr, int length, void* data) {
125125

126126
void transfer_object_column(char* dst, char* src, size_t stride,
127127
size_t length) {
128-
int i;
128+
size_t i;
129129
size_t sz = sizeof(PyObject*);
130130

131131
for (i = 0; i < length; ++i) {

pandas/tslib.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ cdef inline object _parse_dateabbr_string(object date_string, object default,
19451945
object freq):
19461946
cdef:
19471947
object ret
1948-
int year, quarter, month, mnum, date_len
1948+
int year, quarter = -1, month, mnum, date_len
19491949

19501950
# special handling for possibilities eg, 2Q2005, 2Q05, 2005Q1, 05Q1
19511951
assert util.is_string_object(date_string)

0 commit comments

Comments
 (0)