summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 23:37:35 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 23:37:35 +1000
commit0c5bd6d7deae90a7cc7cd8c6e204e4d9ffd157a6 (patch)
treec01ef1865aafd90bb752c46e0cc3aa307d53838c /ext
parent6d3806743ee99cf50c386687657aaac339b3ec2b (diff)
downloadmongo-0c5bd6d7deae90a7cc7cd8c6e204e4d9ffd157a6.tar.gz
The empty destructors in extension modules cause problems with gcc --coverage.
Diffstat (limited to 'ext')
-rw-r--r--ext/compressors/bzip2_compress/bzip2_compress.c5
-rw-r--r--ext/compressors/nop_compress/nop_compress.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/ext/compressors/bzip2_compress/bzip2_compress.c b/ext/compressors/bzip2_compress/bzip2_compress.c
index e1387b23a4a..7c1f6d9db86 100644
--- a/ext/compressors/bzip2_compress/bzip2_compress.c
+++ b/ext/compressors/bzip2_compress/bzip2_compress.c
@@ -33,11 +33,6 @@ static int bz_workfactor = 0;
/* if nonzero, decompress using less memory, but slower (decompression only) */
static int bz_small = 0;
-/* For OS X */
-__attribute__((destructor))
-static void _fini(void) {
-}
-
int
wiredtiger_extension_init(
WT_SESSION *session, WT_EXTENSION_API *api, const char *config)
diff --git a/ext/compressors/nop_compress/nop_compress.c b/ext/compressors/nop_compress/nop_compress.c
index d9061a12a3d..ac740c3188c 100644
--- a/ext/compressors/nop_compress/nop_compress.c
+++ b/ext/compressors/nop_compress/nop_compress.c
@@ -15,11 +15,6 @@ static WT_COMPRESSOR nop_compressor = { nop_compress, nop_decompress };
#define __UNUSED(v) ((void)(v))
-/* For OS X */
-__attribute__((destructor))
-static void _fini(void) {
-}
-
int
wiredtiger_extension_init(
WT_SESSION *session, WT_EXTENSION_API *api, const char *config)