1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

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

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();