Skip to content

Commit 4389fed

Browse files
committed
Fix Coverity issue: Initialize FlashIAP non-static member in constructor
1 parent 1780a08 commit 4389fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/source/FlashIAP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static inline bool is_aligned(uint32_t number, uint32_t alignment)
4646
}
4747
}
4848

49-
FlashIAP::FlashIAP() : _page_buf(nullptr)
49+
FlashIAP::FlashIAP() : _flash(), _page_buf(nullptr)
5050
{
5151

5252
}

0 commit comments

Comments
 (0)