Skip to content

Commit f7bb0ba

Browse files
committed
add NPY_UNUSED for unused parameters to ascii_to_ascii_get_loop
1 parent 38630cc commit f7bb0ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

asciidtype/asciidtype/src/casts.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ ascii_to_ascii(PyArrayMethod_Context *context, char *const data[],
7373
}
7474

7575
static int
76-
ascii_to_ascii_get_loop(PyArrayMethod_Context *context, int aligned,
76+
ascii_to_ascii_get_loop(PyArrayMethod_Context *NPY_UNUSED(context),
77+
int NPY_UNUSED(aligned),
7778
int NPY_UNUSED(move_references),
78-
const npy_intp *strides,
79+
const npy_intp *NPY_UNUSED(strides),
7980
PyArrayMethod_StridedLoop **out_loop,
8081
NpyAuxData **NPY_UNUSED(out_transferdata),
8182
NPY_ARRAYMETHOD_FLAGS *flags)

0 commit comments

Comments
 (0)