cppcheck warnings... Mostly fixed, but not few one...

Maik Qualmann metzpinguin at gmail.com
Thu May 17 20:42:17 BST 2018


Here I see no solution, if the assigned object is 0 we have completely 
different problems, it would crash anyway. What should the error handling look 
like, not assign new object and keep old object is just as fatal? Try to 
create a new object? We would have to look how it is solved elsewhere.

Maik

Am Donnerstag, 17. Mai 2018, 19:19:47 CEST schrieb Gilles Caulier:
> And what's about these 4 entries about equality operator :
> 
> https://www.digikam.org/reports/cppcheck/master/17.html#line-90
> https://www.digikam.org/reports/cppcheck/master/48.html#line-179
> https://www.digikam.org/reports/cppcheck/master/83.html#line-55
> https://www.digikam.org/reports/cppcheck/master/94.html#line-531







More information about the Digikam-devel mailing list