Skip to content

Commit 71178b0

Browse files
committed
rm dead code
1 parent 73d4dc4 commit 71178b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

numcodecs/zarr3.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def __init__(self, **codec_config: dict[str, JSON]) -> None:
8383
) # pragma: no cover
8484
unprefixed_codec_name = _expect_name_prefix(self.codec_name)
8585

86-
if codec_config is None:
87-
codec_config = {}
8886
if "id" not in codec_config:
8987
codec_config = {"id": unprefixed_codec_name, **codec_config}
9088
elif codec_config["id"] != unprefixed_codec_name:

0 commit comments

Comments
 (0)