From bdb194b76a53f1099105925501f1d5784fe78991 Mon Sep 17 00:00:00 2001 From: gitlost Date: Sat, 16 May 2026 09:25:08 +0100 Subject: [PATCH] gs1se_verify: remove now-deprecated gs1_encoder_iNO_SYNDICT/iQUIET flags from options & NULL-init new syntaxDictionary field --- backend/gs1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/gs1.c b/backend/gs1.c index c8643c09..d3b754bb 100644 --- a/backend/gs1.c +++ b/backend/gs1.c @@ -1694,8 +1694,8 @@ static int gs1se_verify(struct zint_symbol *symbol, const unsigned char source[] char msgBuf[120]; gs1_encoder_init_status_t status = GS1_ENCODERS_INIT_SUCCESS; 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_iNO_SYNDICT | gs1_encoder_iQUIET, &status, msgBuf, sizeof(msgBuf) + sizeof(gs1_encoder_init_opts_t), gs1_encoder_iDEFAULT, &status, msgBuf, sizeof(msgBuf), + NULL /*syntaxDictionary*/ }; gs1_encoder *ctx; int gs1se_ret;