Issue 127095 - The result of function isn't used
Summary: The result of function isn't used
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.1.2
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 08:05 UTC by AppChecker
Modified: 2016-08-31 08:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description AppChecker 2016-08-31 08:05:16 UTC
1)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java#L456

                for (int i = 2; i < count; i++)
                {
                    module.replaceFirst("," + value, "");
                }

Value of the variable module isn't changed

2)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseDirectoryCtrl.java#L86

 s.trim();

Value of the variable s isn't changed

3)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L229

s.trim();

Value of the variable s isn't changed

4)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L267

s.trim();

Value of the variable s isn't changed

5)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L346

s.trim();

Value of the variable s isn't changed

6)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L243

installPath.trim();

Value of the variable installPath isn't changed

7)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L281

installPath.trim();

Value of the variable installPath isn't changed

8)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L290

version.trim();

Value of the variable version isn't changed

9)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/FileUpdater.java#L46

s.trim();

Value of the variable s isn't changed

10)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/FileUpdater.java#L120

s.trim();

Value of the variable s isn't changed

11)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/FileUpdater.java#L196

s.trim();

Value of the variable s isn't changed

12)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/l10ntools/source/filter/utils/XMLHelper.java#L216

sToken.trim();

Value of the variable sToken isn't changed.

All possible bugs were found by Echelon team with AppChecker static analyzer (https://npo-echelon.ru/en/solutions/appchecker.php)