Hi,

I have run the Codan code analyzer Eclipse plugin for MITK.

It has found four errors, and a lot of warnings.

The errors are two "assignment to itself" in
QmitkPointBasedRegistrationView.cpp and two "return has value in
function returning void" in berryAdapterService.cpp.

The warnings are mainly pass-by-value for catching an exception
instead of pass-by-reference, the lack of virtual destructors in
classes that have virtual function (656!), no break in switch case and
no return value in non-void function.

For the first type there is a quick fix in Eclipse, so I fixed them.
You will find it here:
https://github.com/cim-unito/MITK/issues/19

Best,
Miklos

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to