[Libreoffice-commits] core.git: helpcompiler/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun Aug 6 15:29:30 UTC 2017


 helpcompiler/source/HelpLinker.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 356debabbacfe15a5d790d690a57ab5f9c0d3384
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Aug 6 16:15:32 2017 +0200

    cppcheck: unreadVariable
    
    since initial commit d6cf80c14ef6abe02125bb8f66262961193cffd7
         CWS-TOOLING: integrate CWS l10nframework01
    
    Change-Id: I3d9761911c535965795b10b3ae96da3e7b51f23d
    Reviewed-on: https://gerrit.libreoffice.org/40808
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index b45dceae3f5c..ae54fadb68a7 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -291,10 +291,6 @@ void HelpLinker::link()
     // do the work here
     // continue with introduction of the overall process thing into the
     // here all hzip files will be worked on
-    std::string appl = mod;
-    if (appl[0] == 's')
-        appl = appl.substr(1);
-
     bool bUse_ = true;
     if( !bExtensionMode )
         bUse_ = false;


More information about the Libreoffice-commits mailing list