Skip to content

Commit f5d9204

Browse files
committed
add missing return for error case
1 parent 3abea62 commit f5d9204

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

asciidtype/asciidtype/src/dtype.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ get_value(PyObject *scalar)
1616
PyErr_SetString(
1717
PyExc_TypeError,
1818
"Can only store ASCII text in a ASCIIDType array.");
19+
return NULL;
1920
}
2021
}
2122
else if (scalar_type != ASCIIScalar_Type) {

0 commit comments

Comments
 (0)