From 727613b4b744658b6a32916a82af2717cd54c11d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Jul 2016 14:42:34 -0400 Subject: [PATCH] fix a compile of annoying compiler warnings with elcap clang --- libs/gtkmm2ext/bindings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gtkmm2ext/bindings.cc b/libs/gtkmm2ext/bindings.cc index 7d7d4ed0a6..1d63cc0972 100644 --- a/libs/gtkmm2ext/bindings.cc +++ b/libs/gtkmm2ext/bindings.cc @@ -641,10 +641,10 @@ Bindings::add (KeyboardKey kb, Operation op, string const& action_name, XMLPrope KeybindingMap& kbm = get_keymap (op); if (group) { KeybindingMap::value_type new_pair = make_pair (kb, ActionInfo (action_name, group->value())); - kbm.insert (new_pair).first; + (void) kbm.insert (new_pair).first; } else { KeybindingMap::value_type new_pair = make_pair (kb, ActionInfo (action_name)); - kbm.insert (new_pair).first; + (void) kbm.insert (new_pair).first; } if (can_save) { -- 2.30.2