From fe1faa9d814a180d432e4ee97fa5b097cfb2d294 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 29 May 2017 17:16:58 +0200 Subject: trust: Suppress dead-assignment warnings from clang-analyzer --- trust/digest.c | 1 + trust/extract-openssl.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/trust/digest.c b/trust/digest.c index 5cac83a..5c15227 100644 --- a/trust/digest.c +++ b/trust/digest.c @@ -189,6 +189,7 @@ transform_sha1 (uint32_t state[5], /* Avoid compiler warnings POST(a); POST(b); POST(c); POST(d); POST(e); */ + (void)a; } diff --git a/trust/extract-openssl.c b/trust/extract-openssl.c index 3271339..a40a74f 100644 --- a/trust/extract-openssl.c +++ b/trust/extract-openssl.c @@ -662,7 +662,6 @@ p11_extract_openssl_directory (p11_enumerate *ex, filename = NULL; path = NULL; - ret = false; file = p11_save_open_file_in (dir, name, ".pem"); if (file != NULL) { -- cgit v1.1