Fix gcc warnings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31830 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-11-02 15:20:36 +00:00
parent 938f99cf00
commit 1ff6b1122b
2 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ class Compare::Impl {
public:
///
Impl(Compare const & compare)
: compare_(compare), abort_(false)
: abort_(false), compare_(compare)
{}
///

View File

@ -86,12 +86,12 @@ private:
/// Starts the comparison algorithm
int doCompare();
/// The buffer with the differences marked with track changes
Buffer * const dest_buffer;
/// The old document's buffer
Buffer const * const old_buffer;
/// The new document's buffer
Buffer const * const new_buffer;
/// The old document's buffer
Buffer const * const old_buffer;
/// The buffer with the differences marked with track changes
Buffer * const dest_buffer;
/// The options that are set in the GuiCompare dialog
CompareOptions options_;