Home GnuPG

build: Improve __thread specifier check.

Description

build: Improve __thread specifier check.

* configure.ac (AC_COMPILE_IFELSE __thread): Move the declaration to
global, referring the variable with (void) in main to avoid an error
buidling with -Werror=unused-variable.  Don't need to include
stdlib.h.
  • Reported-by: Lucas Mulling <lucas.mulling@suse.com>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, Jan 9, 2:15 AM
Parents
rC5e925e6c3484: fips,cipher: Fix memory leak for gcry_pk_hash_sign.
Branches
Unknown
Tags
Unknown
References
HEAD -> master