f1ac4376ff
With <https://gerrit.libreoffice.org/c/core/+/152157> "More conservative SAL_WARN_UNUSED to avoid -Werror,-Wunused-private-field", these two cases would have started to cause "unused variable declaration [loplugin:casttovoid]" (because the call to isWarnUnusedType in compilerplugins/clang/casttovoid.cxx would no longer return true). Just avoid that by not introducing the variables in the first place. Change-Id: I3d2b085082555d1765fbd32045b5157deb0af67e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152158 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> |
||
---|---|---|
.. | ||
qa/cppunit | ||
signing-keys | ||
source | ||
user-template | ||
CppunitTest_test_a11y.mk | ||
CppunitTest_test_xpath.mk | ||
IwyuFilter_test.yaml | ||
Library_subsequenttest.mk | ||
Library_test.mk | ||
Library_test_setupvcl.mk | ||
Library_vclbootstrapprotector.mk | ||
Makefile | ||
Module_test.mk | ||
Package_unittest.mk | ||
README.md | ||
README.vars |
Test Harness Code for C++ Unit Testing
Many of these tests are run during the build process. In that case on
unix, if a test fails follow the error messages to debug it under gdb
.