DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22018>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22018

Warning in ValueStoreCache.cpp when building on HP

           Summary: Warning in ValueStoreCache.cpp when building on HP
           Product: Xerces-C++
           Version: 2.2.0
          Platform: HP
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I get the following warning when building ValueStoreCache.cpp on HP:

  Warning 156: "ValueStoreCache.cpp", line 184 # The variable 'valueStore' 
  may not be initialized on all possible paths from start of the function.

This corresponds to the following line of code:

  ValueStore* valueStore = valueStore = new ValueStore(ic, fScanner);

There is no other valueStore variable in scope, so it appears that the
compiler is complaining about the double assignment.
I'm not sure what the double assignment does anyway, should this just be

  ValueStore* valueStore = new ValueStore(ic, fScanner);

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

Reply via email to