From baf854c8bb0a6d0af5c696c801e631a48dabbaba Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 9 May 2023 19:25:45 +1000 Subject: [PATCH] Remove warning pragma since clang doesn't like it. --- openbsd-compat/regress/snprintftest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/openbsd-compat/regress/snprintftest.c b/openbsd-compat/regress/snprintftest.c index 87b72ca38..23b7dfac8 100644 --- a/openbsd-compat/regress/snprintftest.c +++ b/openbsd-compat/regress/snprintftest.c @@ -25,9 +25,6 @@ #include #include -/* Suppress format truncation warning since we're explicitly testing that. */ -#pragma GCC diagnostic ignored "-Wformat-truncation" - static int failed = 0; static void