Cppcheck: fix Prefer prefix ++/-- operators for non-primitive type

Change-Id: I9345e04ca9538028a340fba5bfcf2e58a9825bf9
Cppcheck: fix Logical conjunction always evaluates to false

Fix https://sourceforge.net/p/avogadro/bugs/672/

Change-Id: I4591a81700ea6b63aae4d3958b3970c54704fb6c
Cppcheck: fix some reassignments

TODO: src/extensions/surfaces/openqube/gaussianset.cpp needs to be changed.
Indeed, from line 356 there's a wrong use of switch
Moreover indexMO is assigned but not used

Change-Id: Ie69082b43a72f8b138af2feba406a2b935e5bcc6
Cppcheck: fix iterator used after element erased

Change-Id: I44922ce1b399fce0bd42342e43e2e29b22cf06c2
Merge topic 'cppcheck_iterator_reused' into master

8e4b34f0 Cppcheck: fix iterator used after element erased
Merge topic 'cppcheck_logical_conjunction' into master

7f48be8b Cppcheck: fix Logical conjunction always evaluates to false
Merge topic 'cppcheck_branch' into master

442274c7 Cppcheck: fix Prefer prefix ++/-- operators for non-primitive type
Cppcheck: fix duplicate branches for if and else

Change-Id: Idcadcca42053b05e5986c8bbc4f1d3fa671fb025
Fix condition for delete

Change-Id: Iced0d75a2e93be1ae15f0e5a14a3a26202c5538c
Fix some warnings

Change-Id: I37005da0d650744b0811c6d98d62e99d0dc738f6
Merge topic 'fix_delete_condition' into master

0efbb03c Fix condition for delete
Merge topic 'Werror' into master

2969a59a Fix some warnings
Fix some warnings part2

Change-Id: Ic70ec3d18e999d05292a84e5df614aaec5d97cd6
Merge topic 'warnings1' into master

9a978a56 Fix some warnings part2
Merge topic 'master' into master

fc7e7f1c Cppcheck: fix duplicate branches for if and else
Merge topic 'cppcheck-fix-reassign' into master

2448f5f1 Cppcheck: fix some reassignments