diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-10-05 21:06:39 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-10-06 12:00:54 +0200 |
commit | 3a6a7f71ec1f5423fcd0bcea20f6831eaafb9c86 (patch) | |
tree | d7b9e9def69e1f9f8544670a145e89ca6e6ff4f0 /comphelper | |
parent | 3b6de95a0d59cf5942af5ecf4a402c224b76f8a3 (diff) |
fix possible >= 0 warning
Change-Id: I7b5595265d00a33e933a1768d8c80a7ffd25c8a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103997
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/threadpool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx index 906189202cdd..044362eef055 100644 --- a/comphelper/source/misc/threadpool.cxx +++ b/comphelper/source/misc/threadpool.cxx @@ -242,8 +242,8 @@ void ThreadPool::incBusyWorker() void ThreadPool::decBusyWorker() { + assert(mnBusyWorkers >= 1); --mnBusyWorkers; - assert(mnBusyWorkers >= 0); } void ThreadPool::waitUntilDone(const std::shared_ptr<ThreadTaskTag>& rTag, bool bJoinAll) |