danmar/cppcheck — pull request #336 by Dmitry-Me (2014-06-09 09:39:28+00:00)
Title: Simplify code - bail out early, vreak loops early, reorder checks and declarations

This removes numerous redundant actions by breaking loops early also reorders checks to make cheaper ones run first and moves declarations closer to where they are first used.