Skip to content

Commit 8e9ef96

Browse files
committed
Silence warning about unnecessary initialization
1 parent 51db898 commit 8e9ef96

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
@@ -337,7 +337,7 @@ string_to_unicode(PyArrayMethod_Context *context, char *const data[],
337337
while (N--) {
338338
const npy_packed_static_string *ps = (npy_packed_static_string *)in;
339339
npy_static_string s = {0, NULL};
340-
npy_static_string name = {0, NULL};
340+
npy_static_string name;
341341
unsigned char *this_string = NULL;
342342
size_t n_bytes;
343343
int is_null = npy_load_string(ps, &s);

0 commit comments

Comments
 (0)