Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MAINT: Silence GCC warning (value cannot really be used uninitialized)
  • Loading branch information
seberg committed Dec 17, 2023
commit 2ef43027c98a71833d9946e7cd2beeee1259c6c5
2 changes: 1 addition & 1 deletion numpy/_core/src/multiarray/arraywrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ npy_find_array_wrap(
PyObject *wrap = NULL;
PyObject *wrap_type = NULL;

double priority;
double priority = 0; /* silence uninitialized warning */

for (int i = 0; i < nin; i++) {
PyObject *obj = inputs[i];
Expand Down