mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-132983: Use `Py_UNREACHABLE in _zstd_load_impl()` (#137320)
This commit is contained in:
parent
406dc714f6
commit
57eab1b8f7
1 changed files with 1 additions and 4 deletions
|
|
@ -157,10 +157,7 @@ _zstd_load_impl(ZstdDecompressor *self, ZstdDict *zd,
|
|||
zd->dict_len);
|
||||
}
|
||||
else {
|
||||
/* Impossible code path */
|
||||
PyErr_SetString(PyExc_SystemError,
|
||||
"load_d_dict() impossible code path");
|
||||
return -1;
|
||||
Py_UNREACHABLE();
|
||||
}
|
||||
|
||||
/* Check error */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue