Skip to content

Commit 90f96ca

Browse files
authored
use VerifyOrDie instead of assert() (project-chip#36583)
1 parent e1fbaf6 commit 90f96ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/platform/silabs/MatterShell.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void cmdSilabsInit()
114114
void startShellTask()
115115
{
116116
int status = chip::Shell::Engine::Root().Init();
117-
assert(status == 0);
117+
VerifyOrDie(status == 0);
118118

119119
// For now also register commands from shell_common (shell app).
120120
// TODO move at least OTCLI to default commands in lib/shell/commands

0 commit comments

Comments
 (0)