]> granicus.if.org Git - graphviz/commitdiff
xlib plugin handle_xlib_events: squash -Wswitch-default warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 30 Mar 2022 15:20:48 +0000 (08:20 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Apr 2022 19:55:48 +0000 (12:55 -0700)
This switch is deliberately only handling the events of relevance to it.

plugin/xlib/gvdevice_xlib.c

index 1185432cfe55c0490b85dc53364cb59f42a315c6..f17b2cae8e4396bae53b26a39849bd32ea1fe76a 100644 (file)
@@ -230,6 +230,8 @@ static int handle_xlib_events (GVJ_t *firstjob, Display *dpy)
                     handle_client_message(job, &xev.xclient);
                    rc++;
                     break;
+                default:
+                    break;
                 }
                break;
            }