Skip to content
Permalink
Browse files

checksrc.bat: Ignore snprintf warnings in docs/examples

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

Closes #3862
  • Loading branch information...
jay committed May 10, 2019
1 parent 0424605 commit edf2f6a6f60debd80ae3cef7a68fb84faaef7c5d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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"
)
)

0 comments on commit edf2f6a

Please sign in to comment.
You can’t perform that action at this time.