]> granicus.if.org Git - graphviz/commit
cgraph delete_items: rephrase a non-exhaustive switch into if statements
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 13 Aug 2022 00:50:11 +0000 (17:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 18 Aug 2022 03:37:42 +0000 (20:37 -0700)
commita43625651178d33c9e1bf5fc5779115af16b7ce7
tree08c882b5dfef966d19be1095633039c88e6e5cec
parente3b4fa5398254a25ea19b0f26f21f4b575c4677f
cgraph delete_items: rephrase a non-exhaustive switch into if statements

This is both more concise and squashes a -Wswitch-default warning.
lib/cgraph/grammar.y