From 356debabbacfe15a5d790d690a57ab5f9c0d3384 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 6 Aug 2017 16:15:32 +0200 Subject: cppcheck: unreadVariable since initial commit d6cf80c14ef6abe02125bb8f66262961193cffd7 CWS-TOOLING: integrate CWS l10nframework01 Change-Id: I3d9761911c535965795b10b3ae96da3e7b51f23d Reviewed-on: https://gerrit.libreoffice.org/40808 Tested-by: Jenkins Reviewed-by: Noel Grandin --- helpcompiler/source/HelpLinker.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'helpcompiler/source') 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; -- cgit v1.2.3