diff --git a/daemon/luks.c b/daemon/luks.c index 166cc953a..9d120b0eb 100644 --- a/daemon/luks.c +++ b/daemon/luks.c @@ -77,12 +77,15 @@ write_key_to_temp (const char *key) } #pragma GCC diagnostic pop +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wanalyzer-double-free" static void remove_temp (char *tempfile) { unlink (tempfile); free (tempfile); } +#pragma GCC diagnostic pop static int luks_format (const char *device, const char *key, int keyslot,