]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9601 Silence warning in libldap/tpool.c
authorBin Lan <bin.lan@windriver.com>
Tue, 29 Jun 2021 03:12:19 +0000 (11:12 +0800)
committerHoward Chu <hyc@openldap.org>
Tue, 29 Jun 2021 12:16:26 +0000 (13:16 +0100)
libraries/libldap/tpool.c

index 139d2b93992b60081b1284af470446f4f7d9f9c6..1bc5e3afa88671f00b610e1b515853ab855b7388 100644 (file)
@@ -734,6 +734,8 @@ ldap_pvt_thread_pool_query(
                                        case LDAP_PVT_THREAD_POOL_PARAM_BACKLOAD:
                                                count += pq->ltp_pending_count + pq->ltp_active_count;
                                                break;
+                                       default:
+                                               break;
                                }
                                ldap_pvt_thread_mutex_unlock(&pq->ltp_mutex);
                        }