Skip to content

Commit

Permalink
Added unreachable return
Browse files Browse the repository at this point in the history
  • Loading branch information
inakleinbottle committed Nov 14, 2023
1 parent d11496b commit b4ba3f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roughpy/src/args/dlpack_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ inline const scalars::ScalarType* scalar_type_of_dl_info(const DLDataType& dtype
RPY_THROW(std::invalid_argument, "devices are not currently supported");
}

RPY_UNREACHABLE_RETURN(nullptr);
}

}
Expand Down

0 comments on commit b4ba3f9

Please sign in to comment.