Skip to content

Commit

Permalink
Add #pragma GCC diagnostic ignored "-Wstack-usage=" in identified pla…
Browse files Browse the repository at this point in the history
…ces (#9368)
  • Loading branch information
ATmobica authored Sep 1, 2021
1 parent 3bbbc69 commit 2ccdcc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/server/StorablePeerConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ StorablePeerConnection::StorablePeerConnection(PASESession & session, FabricInde
mKeyId = session.GetLocalKeyId();
}

#pragma GCC diagnostic ignored "-Wstack-usage="
CHIP_ERROR StorablePeerConnection::StoreIntoKVS(PersistentStorageDelegate & kvs)
{
char key[KeySize()];
Expand Down
1 change: 1 addition & 0 deletions src/protocols/secure_channel/CASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ CHIP_ERROR CASESession::HandleSigmaR2_and_SendSigmaR3(System::PacketBufferHandle
return CHIP_NO_ERROR;
}

#pragma GCC diagnostic ignored "-Wstack-usage="
CHIP_ERROR CASESession::HandleSigmaR2(System::PacketBufferHandle && msg)
{
CHIP_ERROR err = CHIP_NO_ERROR;
Expand Down
1 change: 1 addition & 0 deletions src/transport/FabricTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ CHIP_ERROR FabricInfo::SetFabricLabel(const uint8_t * fabricLabel)
return CHIP_NO_ERROR;
}

#pragma GCC diagnostic ignored "-Wstack-usage="
CHIP_ERROR FabricInfo::StoreIntoKVS(PersistentStorageDelegate * kvs)
{
CHIP_ERROR err = CHIP_NO_ERROR;
Expand Down

0 comments on commit 2ccdcc1

Please sign in to comment.