From 17ba03b0f45d1460b8b3feb551e9962054bcc318 Mon Sep 17 00:00:00 2001 From: 6arms1leg Date: Mon, 21 Feb 2022 14:58:23 +0100 Subject: [PATCH] Add missing volatile type qualifier in example code ... to fix "clobbered variable" compiler warning (`-Wclobbered`). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e16d8d..ed15d65 100644 --- a/README.md +++ b/README.md @@ -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 {