Skip to content

Commit 9d7b028

Browse files
committed
BUG: future proof nonreducer_axis against a potential segfault
1 parent 55ac4aa commit 9d7b028

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bottleneck/src/nonreduce_axis_template.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ nonreducer_axis(char *name,
639639
}
640640
} else {
641641
RUNTIME_ERR("Unknown parse type; please report error.");
642+
return NULL;
642643
}
643644

644645
/* convert to array if necessary */

0 commit comments

Comments
 (0)