To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82822
                 Issue #|82822
                 Summary|basegfx: warnings
               Component|porting
                 Version|680m234
                Platform|Opteron/x86_64
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|code
             Assigned to|thb
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Sat Oct 20 19:54:46 +0000 
2007 -------
Hi,

in basegfx, there are several warnings on 64bit Linux with newer compilers:

/home/oo/BuildDir/ooo_SRC680_m234_src/basegfx/source/matrix/b2dhommatrix.cxx:240:
 warning: 
'fCos' may be used uninitialized in this function
/home/oo/BuildDir/ooo_SRC680_m234_src/basegfx/source/matrix/b2dhommatrix.cxx:239:
 warning: 
'fSin' may be used uninitialized in this function

The easiest fix here is:

-                       double fSin;
-                       double fCos;
+                       double fSin = 0.0;
+                       double fCos = 0.0;

because the compiler is not aware of the default, unreachable code.

OK? If so, pj87 is waiting for it ;-)

---------------------------------------------------------------------
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