From edf2f6a6f60debd80ae3cef7a68fb84faaef7c5d Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Fri, 10 May 2019 15:28:15 -0400 Subject: checksrc.bat: Ignore snprintf warnings in docs/examples .. because we allow snprintf use in docs/examples. Closes https://github.com/curl/curl/pull/3862 --- projects/checksrc.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects') diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 5c8debf11..54c976ad1 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -143,7 +143,7 @@ rem *************************************************************************** if "%CHECK_EXAMPLES%" == "TRUE" ( rem Check the docs\examples directory if exist %SRC_DIR%\docs\examples ( - for /f "delims=" %%i in ('dir "%SRC_DIR%\docs\examples\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\docs\examples" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\docs\examples\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\docs\examples" -ASNPRINTF "%%i" ) ) -- cgit v1.2.3