https://bugs.openldap.org/show_bug.cgi?id=9601
Issue ID: 9601 Summary: Remove the build warnings in tpool.c Product: OpenLDAP Version: 2.5.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: Bin.Lan@windriver.com Target Milestone: ---
Created attachment 828 --> https://bugs.openldap.org/attachment.cgi?id=828&action=edit the issue patch
tpool.c:721:12: warning: 8 enumeration values not handled in switch: 'LDAP_PVT_THREAD_POOL_PARAM_UNKNOWN', 'LDAP_PVT_THREAD_POOL_PARAM_MAX', 'LDAP_PVT_THREAD_POOL_PARAM_MAX_PENDING'... [-Wswitch] switch(param) { ^ 1 warning generated.
https://bugs.openldap.org/show_bug.cgi?id=9601
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- Applied to master, thanks.
https://bugs.openldap.org/show_bug.cgi?id=9601
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 3be2447d by Bin Lan at 2021-06-29T13:16:26+01:00 ITS#9601 Silence warning in libldap/tpool.c
https://bugs.openldap.org/show_bug.cgi?id=9601
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.6
https://bugs.openldap.org/show_bug.cgi?id=9601
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
Commits: • e80842cd by Bin Lan at 2021-07-06T15:44:36+00:00 ITS#9601 Silence warning in libldap/tpool.c
https://bugs.openldap.org/show_bug.cgi?id=9601
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED