Branch: refs/heads/master Home: https://github.com/synfig/synfig Commit: 02eaf8c033b574c361a8c1b84976908cfe0d3f0f https://github.com/synfig/synfig/commit/02eaf8c033b574c361a8c1b84976908cfe0d3f0f Author: rodolforg <rodolf...@users.noreply.github.com> Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths: M synfig-core/src/synfig/canvas.cpp M synfig-core/src/synfig/savecanvas.cpp M synfig-core/src/synfig/valuenode.cpp Log Message: ----------- avoid duplicated dynamic_cast (other cases) (#1328) * prefer nullptr rather NULL or 0 * comment-out useless variable as everything around it is commented-out * remove sparing semicolons * remove duplicated code its copy is right above it!! * avoid duplicated dynamic_cast Improves efficiency, readability maybe, and vanishes some Coverity reports * avoid duplicated cast_dynamic And this is not caught by Coverity :( _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl