From a58253b66f91842381df57026cbf7c3a3d372b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fa=CC=81bio=20Dionathan=20Costa=20Depin?= Date: Wed, 15 Apr 2026 23:02:05 -0300 Subject: [PATCH] fix(tests/unit): fix MinGW build in serializeProtoUnitTest The closing brace for the CSV format branch was inside #ifndef WIN32, so the preprocessor removed it on Windows and broke the brace structure, causing bogus errors around main() with -Werror. --- tests/unit/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/unit.c b/tests/unit/unit.c index a89908f15f5..78e11774700 100644 --- a/tests/unit/unit.c +++ b/tests/unit/unit.c @@ -362,8 +362,8 @@ int serializeProtoUnitTest(void) printf("%s: ERROR: expected CSV str: \"%s\"\n", __func__, expected_csv_buf_str); printf("%s: ERROR: got CSV str.....: \"%.*s\"\n", __func__, (int)buffer_len, buffer); } - } #endif + } ndpi_term_serializer(&serializer); }