From 81f12d8c85d0259d0ca0f7c0a9d1a42d96658dbe Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 16 Jul 2008 15:05:34 +0000 Subject: [PATCH] silence some compiler warnings git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25669 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Encoding.cpp | 2 +- src/insets/InsetInfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Encoding.cpp b/src/Encoding.cpp index 7aee70c9b8..efbb1dc8e8 100644 --- a/src/Encoding.cpp +++ b/src/Encoding.cpp @@ -437,7 +437,7 @@ docstring Encodings::fromLaTeXCommand(docstring const & cmd, docstring & rem) CharInfoMap::const_iterator it = unicodesymbols.begin(); size_t unicmd_size = 0; - char_type c; + char_type c = 0; for (; it != uniend; ++it) { docstring const math = it->second.mathcommand; docstring const text = it->second.textcommand; diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 32be68a172..8cf80bbbc2 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -147,7 +147,7 @@ void InsetInfo::write(ostream & os) const } -bool InsetInfo::validate(docstring const & argument) const +bool InsetInfo::validate(docstring const & /* argument */) const { // FIXME! return true;