mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
thr_debug: tweak debug_already_initialized().
With gcc, declare debug_already_initialized() as 'noinline' so its deliberate uninitialized access stays inside the function and valgrind can ignore it there.
This commit is contained in:
parent
624642ba83
commit
999ff398d6
1 changed files with 1 additions and 0 deletions
|
|
@ -481,6 +481,7 @@ debug_noop( void )
|
|||
*
|
||||
* Returns true if the resource is initialized and not copied/realloced.
|
||||
*/
|
||||
LDAP_GCCATTR((noinline))
|
||||
static int
|
||||
debug_already_initialized( const ldap_debug_usage_info_t *usage )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue