msvc: set warning level to /W4 globally
And fix a bunch of warnings
This commit is contained in:
parent
89a2d48cf8
commit
785e480b62
13 changed files with 17 additions and 20 deletions
|
@ -477,7 +477,8 @@ public:
|
|||
return ResultInternalError;
|
||||
}
|
||||
PCCERT_CONTEXT some_cert = nullptr;
|
||||
while ((some_cert = CertEnumCertificatesInStore(returned_cert->hCertStore, some_cert))) {
|
||||
while ((some_cert = CertEnumCertificatesInStore(returned_cert->hCertStore, some_cert)) !=
|
||||
nullptr) {
|
||||
out_certs->emplace_back(static_cast<u8*>(some_cert->pbCertEncoded),
|
||||
static_cast<u8*>(some_cert->pbCertEncoded) +
|
||||
some_cert->cbCertEncoded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue