Skip to content

Commit 01094f1

Browse files
committed
fix compiler warning on CI
1 parent b1667f4 commit 01094f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stringdtype/stringdtype/src/casts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ string_to_unicode(PyArrayMethod_Context *context, char *const data[],
370370
while (N--) {
371371
const npy_packed_static_string *ps = (npy_packed_static_string *)in;
372372
npy_static_string s = {0, NULL};
373-
npy_static_string name;
373+
npy_static_string name = {0, NULL};
374374
unsigned char *this_string = NULL;
375375
size_t n_bytes;
376376
int is_null = npy_string_load(allocator, ps, &s);

0 commit comments

Comments
 (0)