Commit 5388978
committed
fix: prevent unused warning
When NDEBUG is defined and the _Error_Handler() is used
inside a function using function arguments.
Ex:
void dummy(char *file, uint32_t line) {
_Error_Handler(file, line);
}
Signed-off-by: Frederic Pillon <[email protected]>1 parent 000dad7 commit 5388978
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
0 commit comments