From bfb849859a683ee0cfcfe380c0f1e242562809d4 Mon Sep 17 00:00:00 2001 From: Luis Diaz Mas Date: Mon, 31 Jul 2017 17:54:07 +0200 Subject: [PATCH] Remove unused variable HAVE__BOOL --- config/CMakeChecks.txt | 6 ------ config/config.h.cmake | 3 --- config/config.h.in | 3 --- include/exiv2/exv_msvc.h | 3 --- 4 files changed, 15 deletions(-) diff --git a/config/CMakeChecks.txt b/config/CMakeChecks.txt index 14a5be83..12234325 100644 --- a/config/CMakeChecks.txt +++ b/config/CMakeChecks.txt @@ -90,11 +90,6 @@ check_function_exists( strtol HAVE_STRTOL ) check_function_exists( timegm HAVE_TIMEGM ) check_function_exists( vprintf HAVE_VPRINTF ) - -IF( HAVE_STDBOOL_H ) - CHECK_SYMBOL_EXISTS( "_Bool" stdbool.h HAVE__BOOL ) -ENDIF( HAVE_STDBOOL_H ) - # struct tm in sys/time.h IF( HAVE_SYS_TIME_H ) CHECK_C_SOURCE_COMPILES( "#include @@ -135,7 +130,6 @@ SET( EXV_SYMBOLS HAVE_STDBOOL_H HAVE_VPRINTF HAVE_WCHAR_H HAVE_XMP_TOOLKIT - HAVE__BOOL HAVE_REGEX UNICODE_PATH STRERROR_R_CHAR_P diff --git a/config/config.h.cmake b/config/config.h.cmake index 5ec944b7..07c5e068 100644 --- a/config/config.h.cmake +++ b/config/config.h.cmake @@ -137,9 +137,6 @@ /* Define to 1 if you have the Adobe XMP Toolkit. */ #cmakedefine EXV_HAVE_XMP_TOOLKIT 1 -/* Define to 1 if the system has the type `_Bool'. */ -#cmakedefine EXV_HAVE__BOOL 1 - /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #cmakedefine EXV_LSTAT_FOLLOWS_SLASHED_SYMLINK 1 diff --git a/config/config.h.in b/config/config.h.in index fd4ea131..00d3c7f7 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -122,9 +122,6 @@ /* Define to 1 if you have the Adobe XMP Toolkit. */ #undef HAVE_XMP_TOOLKIT -/* Define to 1 if the system has the type `_Bool'. */ -#undef HAVE__BOOL - /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK diff --git a/include/exiv2/exv_msvc.h b/include/exiv2/exv_msvc.h index c4d9217f..155fa0dc 100644 --- a/include/exiv2/exv_msvc.h +++ b/include/exiv2/exv_msvc.h @@ -140,9 +140,6 @@ /* Define to 1 if you have the Adobe XMP Toolkit. */ #define EXV_HAVE_XMP_TOOLKIT 1 -/* Define to 1 if the system has the type `_Bool'. */ -/* #undef EXV_HAVE__BOOL */ - /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef EXV_LSTAT_FOLLOWS_SLASHED_SYMLINK */