From b892d4b3d33266dbec2782eaee856f62ea61d00f Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 11 Oct 2001 22:02:00 +0000 Subject: [PATCH] Remove an unused function git-svn-id: svn://svn.cc65.org/cc65/trunk@1042 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/casenode.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/cc65/casenode.h b/src/cc65/casenode.h index 19861ce96..785c00552 100644 --- a/src/cc65/casenode.h +++ b/src/cc65/casenode.h @@ -70,16 +70,6 @@ CaseNode* NewCaseNode (unsigned char Value); void FreeCaseNode (CaseNode* N); /* Delete a case node plus all sub nodes */ -#if defined(HAVE_INLINE) -INLINE unsigned CN_GetSubNodeCount (const CaseNode* N) -/* Return the number of subnodes in N */ -{ - return N->Nodes? CollCount (N->Nodes) : 0; -} -#else -# define CN_GetSubNodeCount(N) ((N)->Nodes? CollCount (&(N)->Nodes) : 0) -#endif - #if defined(HAVE_INLINE) INLINE CaseNode* CN_GetSubNode (CaseNode* N, unsigned Index) /* Get a sub node of the given node */ -- 2.39.5