From aa964ef91a624d144b425a746421a89da8f07fab Mon Sep 17 00:00:00 2001 From: gitlost Date: Mon, 26 Jul 2021 15:55:34 +0100 Subject: [PATCH] emf.c: suppress clang-tidy warning --- backend/emf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/emf.c b/backend/emf.c index 4ab5ab0c..3982e257 100644 --- a/backend/emf.c +++ b/backend/emf.c @@ -642,6 +642,8 @@ INTERNAL int emf_plot(struct zint_symbol *symbol, int rotate_angle) { str = str->next; } } + /* Suppress clang-tidy clang-analyzer-core.UndefinedBinaryOperatorResult warning */ + assert(this_text == string_count); /* Create EOF record */ emr_eof.type = 0x0000000e; // EMR_EOF