From 775ec6670135dd9749a7f17afc73135890fe1087 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 16 Sep 2021 20:20:44 -0700 Subject: [PATCH] dot intr: squash a -Wunused-parameter warning --- cmd/dot/dot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index f508f94cd..107d19d3a 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -38,6 +38,8 @@ static graph_t * G; #ifndef _WIN32 static void intr(int s) { + (void)s; + /* if interrupted we try to produce a partial rendering before exiting */ if (G) gvRenderJobs(Gvc, G); -- 2.40.0