Add missing volatile type qualifier

... to fix "clobbered variable" compiler warning (`-Wclobbered`).
This commit is contained in:
6arms1leg
2022-02-21 14:10:10 +01:00
parent fb225430b4
commit 72f30d82e4
+1 -1
View File
@@ -14,7 +14,7 @@ static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE l
if (TEST_PROTECT())
{
<% if @options[:plugins].include?(:cexception) %>
CEXCEPTION_T e;
volatile CEXCEPTION_T e;
Try {
<%= @options[:setup_name] %>();
func();