From 51ba999beaf41e38c84b5a7c517f11a86b2d17be Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Fri, 10 May 2019 22:31:40 +0200 Subject: [PATCH] Avoid a warning about an unused variable --- source/differentiation/ad/ad_helpers.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/differentiation/ad/ad_helpers.cc b/source/differentiation/ad/ad_helpers.cc index fac44b98a5..948f00ba2f 100644 --- a/source/differentiation/ad/ad_helpers.cc +++ b/source/differentiation/ad/ad_helpers.cc @@ -459,6 +459,7 @@ namespace Differentiation // duration of the simulation, we create a global live variable // that doesn't go out of scope. static ad_type num = 0.0; + (void)num; } } -- 2.39.5