From: Matthew Fernandez Date: Sat, 29 May 2021 18:04:05 +0000 (-0700) Subject: remove an unnecessary cast X-Git-Tag: 2.47.3~16^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b732dd98b0c87d481f9da037bc11c310871b8482;p=graphviz remove an unnecessary cast This pointer implicitly coerces. --- diff --git a/lib/ingraphs/ingraphs.c b/lib/ingraphs/ingraphs.c index 10b0ad15d..e4d6602c4 100644 --- a/lib/ingraphs/ingraphs.c +++ b/lib/ingraphs/ingraphs.c @@ -151,7 +151,7 @@ static void *dflt_open(char *f) static int dflt_close(void *fp) { - return fclose((FILE *) fp); + return fclose(fp); } typedef Agraph_t *(*xopengfn) (void *);