diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-05-29 17:16:58 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-05-29 17:28:51 +0200 |
commit | fe1faa9d814a180d432e4ee97fa5b097cfb2d294 (patch) | |
tree | 9531e98974e8117f21d4763f781f86f1b69a8973 | |
parent | b7ba8c625637f3a161cafd81c4a8a30b1f3971b3 (diff) |
trust: Suppress dead-assignment warnings from clang-analyzer
-rw-r--r-- | trust/digest.c | 1 | ||||
-rw-r--r-- | trust/extract-openssl.c | 1 |
2 files changed, 1 insertions, 1 deletions
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) { |