To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75808
                 Issue #|75808
                 Summary|to-be-m207: sfx2/source/appl/shutdownicon.cxx:886: war
                        |ning: 'bState' may be used uninitialized in this funct
                        |ion
               Component|porting
                 Version|680m206
                Platform|All
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|TASK
                Priority|P3
            Subcomponent|MacOSX
             Assigned to|rt
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Wed Mar 28 08:14:17 +0000 
2007 -------
/Users/pavel/BUILD/X11/BuildDir/ooo_SRC680_m207_src/sfx2/source/appl/shutdownicon.cxx:886:
 
warning: 'bState' may be used uninitialized in this function

This fixes it:

--- shutdownicon.cxx    27 Mar 2007 20:35:07 +0200      1.55
+++ shutdownicon.cxx    28 Mar 2007 10:12:44 +0200      
@@ -883,7 +883,7 @@
         case PROPHANDLE_TERMINATEVETOSTATE :
              {
                 // use new value in case it's a valid information only
-                ::sal_Bool bState;
+                ::sal_Bool bState = sal_False;
                 if (! (aValue >>= bState))
                     return;

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