Ignore unused value
Right now, compiling with the stock gcc on debian, cmake is compiling with -Wall which gives an error because -Wunused-value. The gcc version is gcc (Debian 4.7.2-5) 4.7.2. Change-Id: Iafd4cc14a22fe788d4c7bdb05202fd856f0c6395 Reviewed-on: https://boringssl-review.googlesource.com/21144 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
6c1f2b77de
commit
1de690b992
@ -244,7 +244,7 @@ static int x509_name_ex_d2i(ASN1_VALUE **val,
|
|||||||
entry->set = i;
|
entry->set = i;
|
||||||
if (!sk_X509_NAME_ENTRY_push(nm.x->entries, entry))
|
if (!sk_X509_NAME_ENTRY_push(nm.x->entries, entry))
|
||||||
goto err;
|
goto err;
|
||||||
sk_X509_NAME_ENTRY_set(entries, j, NULL);
|
(void)sk_X509_NAME_ENTRY_set(entries, j, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = x509_name_canon(nm.x);
|
ret = x509_name_canon(nm.x);
|
||||||
|
Loading…
Reference in New Issue
Block a user