Skip to content

Commit 06a4723

Browse files
committed
Remove ERR_SET_PLEDGED_INPUT_SIZE
1 parent fcd6561 commit 06a4723

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Modules/_zstd/_zstdmodule.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ set_zstd_error(const _zstd_state* const state,
3333
case ERR_COMPRESS:
3434
msg = "Unable to compress zstd data: %s";
3535
break;
36-
case ERR_SET_PLEDGED_INPUT_SIZE:
37-
msg = "Unable to set pledged uncompressed content size: %s";
38-
break;
3936

4037
case ERR_LOAD_D_DICT:
4138
msg = "Unable to load zstd dictionary or prefix for decompression: %s";

Modules/_zstd/_zstdmodule.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ typedef enum {
137137
typedef enum {
138138
ERR_DECOMPRESS,
139139
ERR_COMPRESS,
140-
ERR_SET_PLEDGED_INPUT_SIZE,
141140

142141
ERR_LOAD_D_DICT,
143142
ERR_LOAD_C_DICT,
@@ -147,7 +146,7 @@ typedef enum {
147146
ERR_SET_C_LEVEL,
148147

149148
ERR_TRAIN_DICT,
150-
ERR_FINALIZE_DICT
149+
ERR_FINALIZE_DICT,
151150
} error_type;
152151

153152
typedef enum {

0 commit comments

Comments
 (0)