]> granicus.if.org Git - graphviz/commit
xlib plugin handle_file_events: rephrase a switch into an if
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 31 Mar 2022 00:21:22 +0000 (17:21 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Apr 2022 19:55:48 +0000 (12:55 -0700)
commit2acb673db0fffbab4f5eb0ac5bfa34c7b0ad0c7d
treec818f17629a052089d83285cc1c165cd2f9abe3c
parentc360784f74a9fc0fc35e21eb6a3bacfd171481b9
xlib plugin handle_file_events: rephrase a switch into an if

Avoids a -Wswitch-default warnings and simplifies the code that was clearly
indicating an intent to ignore everything except `IN_MODIFY`.
plugin/xlib/gvdevice_xlib.c