Initialize FindAndReplaceOptions in default constructor

Found by coverity
This commit is contained in:
Jean-Marc Lasgouttes 2016-06-09 17:05:24 +02:00
parent bad511f3fe
commit 76f45b351d

View File

@ -101,7 +101,8 @@ public:
SearchScope scope = S_BUFFER, SearchScope scope = S_BUFFER,
SearchRestriction restr = R_EVERYTHING SearchRestriction restr = R_EVERYTHING
); );
FindAndReplaceOptions() {} FindAndReplaceOptions() : casesensitive(false), matchword(false), forward(false),
expandmacros(false), ignoreformat(false) {}
docstring find_buf_name; docstring find_buf_name;
bool casesensitive; bool casesensitive;
bool matchword; bool matchword;