[openssh-commits] [openssh] 01/02: Remove warning pragma since clang doesn't like it.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue May 9 19:27:28 AEST 2023


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit baf854c8bb0a6d0af5c696c801e631a48dabbaba
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue May 9 19:25:45 2023 +1000

    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 87b72ca3..23b7dfac 100644
--- a/openbsd-compat/regress/snprintftest.c
+++ b/openbsd-compat/regress/snprintftest.c
@@ -25,9 +25,6 @@
 #include <stdarg.h>
 #include <string.h>
 
-/* Suppress format truncation warning since we're explicitly testing that. */
-#pragma GCC diagnostic ignored "-Wformat-truncation"
-
 static int failed = 0;
 
 static void

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list