Skip to content

Commit

Permalink
[nit] NodeCredential should be initialized with nullptr (project-chip…
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing authored May 15, 2021
1 parent d7c56ff commit 9ca740f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/credentials/CHIPOperationalCredentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ using namespace Crypto;

struct NodeCredential
{
uint8_t * mCredential;
uint16_t mLen;
uint8_t * mCredential = nullptr;
uint16_t mLen = 0;
};

struct NodeCredentialMap
Expand Down

0 comments on commit 9ca740f

Please sign in to comment.