Add missing volatile type qualifier in example code

... to fix "clobbered variable" compiler warning (`-Wclobbered`).
This commit is contained in:
6arms1leg
2022-02-21 14:58:23 +01:00
parent f564760269
commit 17ba03b0f4
+1 -1
View File
@@ -84,7 +84,7 @@ transferred to the Catch block. A silly example:
```
void SillyExampleWhichPrintsZeroThroughFive(void) {
CEXCEPTION_T e;
volatile CEXCEPTION_T e;
int i;
while (i = 0; i < 6; i++) {
Try {