From b60fdc35359963505f6a945c3dead881347b63d1 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 5 Apr 2025 00:48:32 +0200 Subject: [PATCH] ConfigureChecks.cmake: Fix off_t detection for -Werror --- expat/ConfigureChecks.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/expat/ConfigureChecks.cmake b/expat/ConfigureChecks.cmake index c06b2f27..191bb81f 100644 --- a/expat/ConfigureChecks.cmake +++ b/expat/ConfigureChecks.cmake @@ -50,6 +50,7 @@ if(HAVE_SYS_TYPES_H) #include int main(void) { const off_t offset = -123; + (void)offset; return 0; }" HAVE_OFF_T)