1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

checksrc.bat: Ignore snprintf warnings in docs/examples

.. because we allow snprintf use in docs/examples.

Closes https://github.com/curl/curl/pull/3862
This commit is contained in:
Jay Satiro 2019-05-10 15:28:15 -04:00
parent 0424605fc7
commit edf2f6a6f6

View File

@ -143,7 +143,7 @@ rem ***************************************************************************
if "%CHECK_EXAMPLES%" == "TRUE" ( if "%CHECK_EXAMPLES%" == "TRUE" (
rem Check the docs\examples directory rem Check the docs\examples directory
if exist %SRC_DIR%\docs\examples ( 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"
) )
) )