From: Matthew Fernandez Date: Fri, 3 Dec 2021 02:12:03 +0000 (-0800) Subject: NullFunction: squash -Wunused-parameter warning X-Git-Tag: 3.0.0~148^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fceb47740a22e51b727ae5d0b288f696456625b;p=graphviz NullFunction: squash -Wunused-parameter warning This parameter cannot be removed because this function is used as a callback in instances that expect its current calling convention. --- diff --git a/lib/rbtree/misc.c b/lib/rbtree/misc.c index df711b1ec..e7367c1f6 100644 --- a/lib/rbtree/misc.c +++ b/lib/rbtree/misc.c @@ -8,4 +8,4 @@ /* as a function to RBTreeCreate when no other suitable function has */ /* been defined */ -void NullFunction(void * junk) { ; } +void NullFunction(void *junk) { (void)junk; }