We should not first dereference p and afterwards assert that is was not NULL. Instead do the assert first. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>master
parent
1275a44e2f
commit
05d887b461
Loading…
Reference in new issue