[Libreoffice-commits] .: icc/source l10ntools/source

Julien Nabet serval2412 at kemper.freedesktop.org
Tue Sep 13 11:42:23 PDT 2011


 icc/source/create_sRGB_profile/create_sRGB_profile.cpp |    1 -
 l10ntools/source/help/HelpLinker.cxx                   |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 545c36f58e0553b0a5d594e9e1e5cfb58d7c4f0e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Sep 13 20:41:20 2011 +0200

    cppcheck:remove unused variables

diff --git a/icc/source/create_sRGB_profile/create_sRGB_profile.cpp b/icc/source/create_sRGB_profile/create_sRGB_profile.cpp
index b931ea3..cf1766d 100644
--- a/icc/source/create_sRGB_profile/create_sRGB_profile.cpp
+++ b/icc/source/create_sRGB_profile/create_sRGB_profile.cpp
@@ -203,7 +203,6 @@ void dumpTag(FILE *outfile, CIccProfile *pIcc, icTagSignature sig)
 void dumpProfile(FILE *outfile, const char * profileName)
 {
     CIccProfile *pIcc;
-    std::string sReport;
     icValidateStatus nStatus;
 
     pIcc = OpenIccProfile(profileName);
diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx
index 1a76bf5..b754991 100644
--- a/l10ntools/source/help/HelpLinker.cxx
+++ b/l10ntools/source/help/HelpLinker.cxx
@@ -737,7 +737,6 @@ void HelpLinker::main( std::vector<std::string> &args,
     if ((!args.empty()) && args[0][0] == '@')
     {
         std::vector<std::string> stringList;
-        std::string strBuf;
         std::ifstream fileReader(args[0].substr(1).c_str());
 
         while (fileReader)


More information about the Libreoffice-commits mailing list