From: Matthew Fernandez Date: Fri, 5 Aug 2022 04:21:45 +0000 (-0700) Subject: expr: remove dereferencing and parens around calling 'Exdisc_t.typename' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c90b88dd733b1831ab119c8454b98c07fa5bcf63;p=graphviz expr: remove dereferencing and parens around calling 'Exdisc_t.typename' The compiler does not need to be explicitly told how to call through a function pointer. --- diff --git a/lib/expr/exgram.h b/lib/expr/exgram.h index 8c36fe3a2..a58d43a1b 100644 --- a/lib/expr/exgram.h +++ b/lib/expr/exgram.h @@ -430,7 +430,7 @@ static int typecast[6][6] = char *extypename(Expr_t * p, int type) { if (BUILTIN(type)) return TYPENAME(type); - return (p->disc->typename) (type); + return p->disc->typename(type); } /* exnoncast: