Skip to content

Commit

Permalink
[nit] NodeCredential should be initialized with nullptr (#6843)
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing authored and pull[bot] committed May 19, 2021
1 parent 46fbd28 commit 1412782
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 1412782

Please sign in to comment.