]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
fix MSVC warning.
[lyx.git] / src / lyxfind.cpp
index 4da5b14d5600b8ea10da71ce290063261b90dece..514c508114f62b69c1db5364414faa71bf767538 100644 (file)
@@ -21,6 +21,7 @@
 #include "CutAndPaste.h"
 #include "buffer_funcs.h"
 #include "BufferView.h"
+#include "Changes.h"
 #include "debug.h"
 #include "FuncRequest.h"
 #include "gettext.h"
@@ -137,7 +138,7 @@ bool findChange(DocIterator & cur)
 }
 
 
-bool searchAllowed(BufferView * bv, docstring const & str)
+bool searchAllowed(BufferView * /*bv*/, docstring const & str)
 {
        if (str.empty()) {
                frontend::Alert::error(_("Search error"),