Skip to content

Commit

Permalink
Fix #336: annotate unreachable point in doReset()
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Jun 12, 2022
1 parent 70a6e17 commit 8d17fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/CatenaBase_registerCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ doReset(
}

NVIC_SystemReset();
/*NOTREACHED*/
__builtin_unreachable();
}

/*
Expand Down

0 comments on commit 8d17fd0

Please sign in to comment.