Re: About coverity 440107 (keyimpl.cxx in registry)

2013-03-24 Thread Stephan Bergmann
On 03/23/2013 01:00 PM, julien2412 wrote: If I remove these cases in the switch, I've got this: /home/julien/compile-libreoffice/libo/registry/source/keyimpl.cxx: In member function ‘RegError ORegKey::getValue(const rtl::OUString&, RegValue) const’: /home/julien/compile-libreoffice/libo/registry/

Re: About coverity 440107 (keyimpl.cxx in registry)

2013-03-23 Thread julien2412
Thank you Stephan for your feedback. If I remove these cases in the switch, I've got this: /home/julien/compile-libreoffice/libo/registry/source/keyimpl.cxx: In member function ‘RegError ORegKey::getValue(const rtl::OUString&, RegValue) const’: /home/julien/compile-libreoffice/libo/registry/source

Re: About coverity 440107 (keyimpl.cxx in registry)

2013-03-22 Thread Stephan Bergmann
On 03/22/2013 10:12 PM, julien2412 wrote: Indeed we have this switch: 622 switch (valueType) 623 { 624 case RG_VALUETYPE_NOT_DEFINED: 625 memcpy(value, pBuffer, valueSize); 626 break; 627 case RG_VALUETYPE_LONG: 62

About coverity 440107 (keyimpl.cxx in registry)

2013-03-22 Thread julien2412
Hello, Scan coverity reported this: dead_error_begin: Execution cannot reach this statement "case 5:" dead_error_begin: Execution cannot reach this statement "case 6:" dead_error_begin: Execution cannot reach this statement "case 7:" See http://opengrok.libreoffice.org/xref/core/registry/source/k