#include "CutAndPaste.h"
#include "buffer_funcs.h"
#include "BufferView.h"
+#include "Changes.h"
#include "debug.h"
#include "FuncRequest.h"
#include "gettext.h"
}
-bool searchAllowed(BufferView * bv, docstring const & str)
+bool searchAllowed(BufferView * /*bv*/, docstring const & str)
{
if (str.empty()) {
frontend::Alert::error(_("Search error"),