]> granicus.if.org Git - graphviz/commit
remove unnecessary not-null guards to free in Operator_diag_precon_delete
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 26 Jun 2021 23:19:44 +0000 (16:19 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Jul 2021 17:45:45 +0000 (10:45 -0700)
commit4fb32ac18c703c1aa36e344f9261c9e5ae165cd4
treed36d359bdce703557fc357d9cbbd921e80820299
parent03d4f541e12204c1adb7b2338f4b842d6f43a897
remove unnecessary not-null guards to free in Operator_diag_precon_delete

It is well-defined to free null. Apart from this though, the first condition
containing a dereference of `o` implies that `o` is not null so the second
condition can be assumed true.
lib/sfdpgen/sparse_solve.c