To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51954
                  Issue #:|51954
                  Summary:|binfilter: warning: uninitialized variable is used
                Component:|framework
                  Version:|680m116
                 Platform:|PC
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|pmladek





------- Additional comments from [EMAIL PROTECTED] Thu Jul 14 04:52:33 -0700 
2005 -------
The new gcc-4.0-pre has a better detection of problems with uninitialized
variables and prints the new "warning: FOO is used uninitialized". We are going
through this warnings because there is a higher chance that the code is really
broken.

The following problems were found in the module binfilter:

1st problem:

/usr/src/packages/BUILD/ooo-build-1.9.114/build/src680-m114/binfilter/bf_sc/source/core/data/sc_table2.cxx:
In member function 'BOOL binfilter::ScTable::IsSelectionEditable(const
binfilter::ScMarkData&, BOOL*) const':
/usr/src/packages/BUILD/ooo-build-1.9.114/build/src680-m114/binfilter/bf_sc/source/core/data/sc_table2.cxx:1469:
warning: 'bIsEditable' is used uninitialized in this function


2nd problem:

/usr/src/packages/BUILD/ooo-build-1.9.114/build/src680-m114/binfilter/bf_svx/source/form/svx_ParseContext.cxx:
In member function 'virtual connectivity::IParseContext::InternationalKeyCode
binfilter::svxform::OSystemParseContext
::getIntlKeyCode(const rtl::OString&) const':
/usr/src/packages/BUILD/ooo-build-1.9.114/build/src680-m114/binfilter/bf_svx/source/form/svx_ParseContext.cxx:184:
 warning: 'aInternationalKeyCode' is used uninitialized in this function

I'll attach a patch, which I use to make our build system happy. I am not sure
if the fix for the first problem is correct, however.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to