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:
parent
0424605fc7
commit
edf2f6a6f6
@ -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"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user