Initialize class/struct variables with default values in core/ and drivers/

This commit is contained in:
Rafał Mikrut
2020-11-23 17:38:46 +01:00
parent 18023cc3ed
commit 7bd03b7188
34 changed files with 221 additions and 228 deletions

View File

@ -37,7 +37,7 @@ class CryptoCore {
public:
class MD5Context {
private:
void *ctx; // To include, or not to include...
void *ctx = nullptr; // To include, or not to include...
public:
MD5Context();
@ -50,7 +50,7 @@ public:
class SHA1Context {
private:
void *ctx; // To include, or not to include...
void *ctx = nullptr; // To include, or not to include...
public:
SHA1Context();
@ -63,7 +63,7 @@ public:
class SHA256Context {
private:
void *ctx; // To include, or not to include...
void *ctx = nullptr; // To include, or not to include...
public:
SHA256Context();
@ -76,7 +76,7 @@ public:
class AESContext {
private:
void *ctx; // To include, or not to include...
void *ctx = nullptr; // To include, or not to include...
public:
AESContext();