Changeset 1210
- Timestamp:
- 01/27/08 08:34:16 (8 months ago)
- Files:
-
- 1.8.3/branches/devel/src/intmap.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/src/intmap.c
r1208 r1210 217 217 } 218 218 219 /* Not a duplicate, so key and here->key /will/ differ in at least one 220 bit. No need to make sure that bit doesn't go > 31 */ 219 221 for (bit = 0; digit(key, bit) == digit(here->key, bit); bit++) ; 220 222 … … 224 226 newnode->links[digit(im->root->key, bit)] = im->root; 225 227 im->root = newnode; 228 im->count += 1; 229 assert(im->count > 1); 226 230 return true; 227 231 }
