include/opencl/OpenCLZone.hxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 6bdbe7f5af26be191955dbf8739f4cde40b6782c Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Sep 27 09:11:03 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Sep 27 11:36:12 2019 +0200
Silence false cid#1454000 "Side effect in assertion" The side effect is intentional here. Change-Id: I05d166bb312ea3a97905607c5effccf1e8d8eef7 Reviewed-on: https://gerrit.libreoffice.org/79668 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/opencl/OpenCLZone.hxx b/include/opencl/OpenCLZone.hxx index d1c59dcd25d4..50d0f81c3191 100644 --- a/include/opencl/OpenCLZone.hxx +++ b/include/opencl/OpenCLZone.hxx @@ -32,6 +32,7 @@ public: ~OpenCLZone() { + // coverity[assert_side_effect] assert(gnEnterCount > 0); gnEnterCount = gnEnterCount - 1; if (!isInZone()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits