diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index 46f30e2147..434bd4c8b7 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -75,7 +75,6 @@ void InsetBibitem::initView() void InsetBibitem::updateCommand(docstring const & new_key, bool) { - docstring const old_key = getParam("key"); docstring key = new_key; vector bibkeys = buffer().masterBibInfo().getKeys();