summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2019-05-10 15:28:15 -0400
committerJay Satiro <raysatiro@yahoo.com>2019-05-11 02:32:49 -0400
commitedf2f6a6f60debd80ae3cef7a68fb84faaef7c5d (patch)
treef4935fa5fcabdac3ddad1c536573c65c476be41e /projects
parent0424605fc728499e53601c373e74c4fb257fe422 (diff)
downloadcurl-edf2f6a6f60debd80ae3cef7a68fb84faaef7c5d.tar.gz
checksrc.bat: Ignore snprintf warnings in docs/examples
.. because we allow snprintf use in docs/examples. Closes https://github.com/curl/curl/pull/3862
Diffstat (limited to 'projects')
-rw-r--r--projects/checksrc.bat2
1 files changed, 1 insertions, 1 deletions
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"
)
)