From 17c77dc57c9730f1f2ed18ebfae5e36ed1cbc6e4 Mon Sep 17 00:00:00 2001 From: DankParrot Date: Wed, 12 Aug 2020 17:58:24 -0700 Subject: [PATCH] Fix annoying Property.h warning --- src/config/Property.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/Property.h b/src/config/Property.h index f71f49e..a3b6ff5 100644 --- a/src/config/Property.h +++ b/src/config/Property.h @@ -32,6 +32,9 @@ namespace Feather } catch (const std::out_of_range& err) { + // ignore unreferenced local var + (void)err; + // process default value from constructor SetValue(value); }