Eliminate redundant check in backwards_height
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Nov 2018 22:05:51 +0000 (01:05 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Nov 2018 22:05:51 +0000 (01:05 +0300)
commit4d9121976da7cf9c54f8cb4e9901ee5b0e5206f3
tree33629c36d55128828779ba0a510513c7910848c0
parent49e0e6e6b47056a51a858a36b6607a474f72bad0
Eliminate redundant check in backwards_height

This eliminates 'the condition pred!=NULL is redundant' cppcheck warning.

* backgraph.c [MAKE_BACK_GRAPH] (backwards_height): Remove duplicate
pred!=NULL check (the case of NULL is already handled by
"if(NULL==pred)return 1" statement).
backgraph.c