From: Matthew Fernandez Date: Sat, 26 Feb 2022 22:01:18 +0000 (-0800) Subject: gvc: [nfc] remove unnecessary parens around use of 'write_fn' X-Git-Tag: 4.0.0~194^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bbb4cd6b0e644a682c8e9fc9f079a7cc629b47a;p=graphviz gvc: [nfc] remove unnecessary parens around use of 'write_fn' --- diff --git a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c index e58814b91..7260cf883 100644 --- a/lib/gvc/gvdevice.c +++ b/lib/gvc/gvdevice.c @@ -61,7 +61,7 @@ static const int PAGE_ALIGN = 4095; /* align to a 4K boundary (less one), typic static size_t gvwrite_no_z(GVJ_t * job, const void *s, size_t len) { if (job->gvc->write_fn) /* externally provided write discipline */ - return (job->gvc->write_fn)(job, s, len); + return job->gvc->write_fn(job, s, len); if (job->output_data) { if (len > job->output_data_allocated - (job->output_data_position + 1)) { /* ensure enough allocation for string = null terminator */