15759b8c94
Reduce scope of variables declared inside a switch statement. OK, so make those code snippets into blocks then, to reduce the scope of those variables. Workaround for weird errors as reported by gcc 4.2.1 in the 10.6 SDK: SalAquaPicker.cxx: In member function 'void SalAquaPicker::implInitialize()': SalAquaPicker.cxx:134: error: jump to case label SalAquaPicker.cxx:127: error: crosses initialization of 'NSNumber* pExtn' SalAquaPicker.cxx:126: error: crosses initialization of 'NSUserDefaults* pDefaults' SalAquaPicker.cxx:141: error: jump to case label SalAquaPicker.cxx:127: error: crosses initialization of 'NSNumber* pExtn' SalAquaPicker.cxx:126: error: crosses initialization of 'NSUserDefaults* pDefaults' |
||
---|---|---|
.. | ||
aqua | ||
generic | ||
odma | ||
office | ||
unx | ||
win32 |