You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/08/31 08:05:16 UTC

[Issue 127095] New: The result of function isn't used

https://bz.apache.org/ooo/show_bug.cgi?id=127095

          Issue ID: 127095
        Issue Type: DEFECT
           Summary: The result of function isn't used
           Product: General
           Version: 4.1.2
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: appchecker@cnpo.ru

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)

-- 
You are receiving this mail because:
You are the assignee for the issue.