diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-09-20 17:24:52 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-09-20 17:24:52 +0200 |
commit | e9e643b240ac6a1c3c8ffd8c7045625b28b4df19 (patch) | |
tree | 8bb8801629a381a4a5da59cc4f210ffcb1791285 /src | |
parent | f654324e5e317ad6b9290c73aec113fc4001b362 (diff) | |
download | strongswan-e9e643b240ac6a1c3c8ffd8c7045625b28b4df19.tar.bz2 strongswan-e9e643b240ac6a1c3c8ffd8c7045625b28b4df19.tar.xz |
leak-detective: Fix compile warning due to unused variable if LD is disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/library.c b/src/libstrongswan/library.c index f694509d1..4f79dcc5b 100644 --- a/src/libstrongswan/library.c +++ b/src/libstrongswan/library.c @@ -175,13 +175,13 @@ void library_deinit() this->public.integrity->destroy(this->public.integrity); } -#ifdef LEAK_DETECTIVE if (lib->leak_detective) { lib->leak_detective->report(lib->leak_detective, detailed); lib->leak_detective->destroy(lib->leak_detective); lib->leak_detective = NULL; } +#ifdef LEAK_DETECTIVE if (this->ld_out && this->ld_out != stderr) { fclose(this->ld_out); |