1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-06-10 15:43:40 +00:00

gs1se_verify: remove now-deprecated gs1_encoder_iNO_SYNDICT/iQUIET

flags from options & NULL-init new syntaxDictionary field
This commit is contained in:
gitlost
2026-05-16 09:25:08 +01:00
parent 09d48d5757
commit bdb194b76a
+2 -2
View File
@@ -1694,8 +1694,8 @@ static int gs1se_verify(struct zint_symbol *symbol, const unsigned char source[]
char msgBuf[120]; char msgBuf[120];
gs1_encoder_init_status_t status = GS1_ENCODERS_INIT_SUCCESS; gs1_encoder_init_status_t status = GS1_ENCODERS_INIT_SUCCESS;
gs1_encoder_init_opts_t opts = { gs1_encoder_init_opts_t opts = {
/* NOLINTNEXTLINE(clang-analyzer-optin.core.EnumCastOutOfRange) suppress clang-tidy-21 warning OR-ing enums */ sizeof(gs1_encoder_init_opts_t), gs1_encoder_iDEFAULT, &status, msgBuf, sizeof(msgBuf),
sizeof(gs1_encoder_init_opts_t), gs1_encoder_iNO_SYNDICT | gs1_encoder_iQUIET, &status, msgBuf, sizeof(msgBuf) NULL /*syntaxDictionary*/
}; };
gs1_encoder *ctx; gs1_encoder *ctx;
int gs1se_ret; int gs1se_ret;