summaryrefslogtreecommitdiff
path: root/src/cache/ftccache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache/ftccache.c')
-rw-r--r--src/cache/ftccache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache/ftccache.c b/src/cache/ftccache.c
index f32f7d421..54d06ab4f 100644
--- a/src/cache/ftccache.c
+++ b/src/cache/ftccache.c
@@ -44,7 +44,7 @@
family = entry->family;
/* remove from parent set table - eventually destroy the set */
- if ( --family->num_nodes <= 0 )
+ if ( --family->num_nodes == 0 )
FT_LruList_Remove( cache->families, (FT_LruNode) family );
}
@@ -213,7 +213,7 @@
FREE( node );
/* check, just in case of general corruption :-) */
- if ( manager->num_nodes <= 0 )
+ if ( manager->num_nodes == 0 )
FT_ERROR(( "ftc_node_destroy: invalid cache node count! = %d\n",
manager->num_nodes ));
}