synfig/synfig — pull request #158 by serval2412 (2014-12-29 11:32:43+00:00)
Title: Fix cppcheck reports:

[synfig-core/src/synfig/cairoimporter.cpp:141] -> [synfig-core/src/synfig/cairoimporter.cpp:144]: (error) Iterator 'iter' used after element has been erased.
[synfig-core/src/synfig/importer.cpp:141] -> [synfig-core/src/synfig/importer.cpp:144]: (error) Iterator 'iter' used after element has been erased.

There are still these:
[synfig-core/src/synfig/valuenode_bline.cpp:199]: (error) Invalid iterator 'prev' used.
[synfig-core/src/synfig/valuenode_bline.cpp:200]: (error) Invalid iterator 'prev' used.

[synfig-core/src/synfig/valuenode_bone.cpp:661]: (warning) Suspicious condition. The result of find() is an iterator, but it is not properly checked.
I noticed that "first" and "prev" aren't initialized

[synfig-studio/src/gui/widgets/widget_compselect.cpp:117]: (style) Variable 'iter' is assigned a value that is never used.
[synfig-studio/src/gui/trees/keyframetreestore.cpp:159]: (style) The function 'clear_iterator' is never used.
[synfig-studio/src/gui/trees/keyframetreestore.cpp:91]: (style) The function 'model_iter_2_keyframe_iter' is never used.