Skip to content

Commit cacfd83

Browse files
committed
Fix the last commit
1 parent 6acba30 commit cacfd83

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/examples/dpp/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ AM_NORETURN void am_assert_failure(
8989
const char *assertion, const char *file, int line
9090
) {
9191
static int nasserts = 0;
92-
if (nassert) {
92+
if (nasserts) {
9393
__builtin_trap();
9494
}
9595
++nasserts;

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"printff", "vprintff", "printk", "vprintk",
113113

114114
"IWYU",
115+
"nasserts",
115116
],
116117
// flagWords - list of words to be always considered incorrect
117118
// This is useful for offensive words and common spelling errors.

0 commit comments

Comments
 (0)