usr.bin/sed/compile.c
/* 
 * Warn about any unused labels.  As a side effect, release the label hash
 * table space.
 */
Warn about any unused labels.  As a side effect, release the label hash
table space.
Warn about any unused labels . As a side effect release the label hash table space .
static void
uselabel()
{
	register struct labhash *lh, *next;
	register int i;
	for (i = 0; i < LHSZ; i++) {
		for (lh = labels[i]; lh != NULL; lh = next) {
			next = lh->lh_next;
			if (!lh->lh_ref)
				err(WARNING, "unused label '%s'",
				    lh->lh_cmd->t);
			free(lh);
		}
	}
}
static void uselabel ( ) { register struct labhash * lh , * next ; register int i ; for ( i = 0 ; i < LHSZ ; i ++ ) { for ( lh = labels [ i ] ; lh != NULL ; lh = next ) { next = lh -> lh_next ; if ( ! lh -> lh_ref ) err ( WARNING , " " , lh -> lh_cmd -> t ) ; free ( lh ) ; } } }
Warn about any unused labels.
Warn about any unused labels .