Mercurial > hg > orthanc-stone
changeset 1582:cdd1932c530c
fix cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Oct 2020 17:34:53 +0200 |
parents | e04c8fec263e |
children | c8644706e78b |
files | Applications/Resources/RunCppCheck.sh |
diffstat | 1 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Resources/RunCppCheck.sh Fri Oct 16 17:27:01 2020 +0200 +++ b/Applications/Resources/RunCppCheck.sh Fri Oct 16 17:34:53 2020 +0200 @@ -10,11 +10,11 @@ cat <<EOF > /tmp/cppcheck-suppressions.txt stlFindInsert:../../Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h -stlFindInsert:../../Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp:658 +stlFindInsert:../../Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp:685 unpreciseMathCall:../../OrthancStone/Sources/Scene2D/Internals/CairoFloatTextureRenderer.cpp unpreciseMathCall:../../OrthancStone/Sources/Scene2D/LookupTableTextureSceneLayer.cpp -unreadVariable:../../OrthancStone/Sources/Viewport/SdlViewport.cpp:135 -unreadVariable:../../OrthancStone/Sources/Viewport/SdlViewport.cpp:193 +unreadVariable:../../OrthancStone/Sources/Viewport/SdlViewport.cpp:143 +unreadVariable:../../OrthancStone/Sources/Viewport/SdlViewport.cpp:197 unusedFunction useInitializationList:../../OrthancStone/Sources/OpenGL/OpenGLProgram.cpp:36 EOF @@ -53,8 +53,15 @@ -UNDEBUG \ -I/home/jodogne/Subversion/orthanc/OrthancFramework/Sources \ \ - ../../OrthancStone/Sources \ ../../Applications/Samples \ ../../Applications/StoneWebViewer \ + ../../OrthancStone/Sources \ + \ + -i ../../Applications/Samples/RtViewerPlugin/i \ + -i ../../Applications/Samples/Sdl/i \ + -i ../../Applications/Samples/WebAssembly/i \ + -i ../../Applications/StoneWebViewer/Plugin/i \ + -i ../../Applications/StoneWebViewer/WebAssembly/StoneModule/i \ + -i ../../Applications/StoneWebViewer/WebAssembly/i \ \ 2>&1