Skip to content

Commit

Permalink
[ncp] fix a compilation issue in ncp_spinel.cpp
Browse files Browse the repository at this point in the history
Fix an issue in `ncp_spinel.cpp` related to a dummy va_list variable being uninitialized.
  • Loading branch information
suveshpratapa committed Aug 21, 2024
1 parent 861ddf2 commit 81da3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ncp/ncp_spinel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void NcpSpinel::ThreadErasePersistentInfo(AsyncTaskPtr aAsyncTask)
{
otError error = OT_ERROR_NONE;
spinel_tid_t tid = GetNextTid();
va_list args;
va_list args = {};

VerifyOrExit(mThreadErasePersistentInfoTask == nullptr, error = OT_ERROR_BUSY);

Expand Down

0 comments on commit 81da3c2

Please sign in to comment.