diff options
Diffstat (limited to 'src/H5SL.c')
-rw-r--r-- | src/H5SL.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -47,8 +47,7 @@ /* Define the code template for insertions for the "OP" in the H5SL_FIND macro */ #define H5SL_FIND_INSERT_FOUND(SLIST,X,UPDATE,I,ITEM) \ - X->item=ITEM; \ - HGOTO_DONE(SUCCEED); + HGOTO_DONE(FAIL); /* Define the code template for removals for the "OP" in the H5SL_FIND macro */ #define H5SL_FIND_REMOVE_FOUND(SLIST,X,UPDATE,I,ITEM) \ @@ -386,8 +385,7 @@ H5SL_count(H5SL_t *slist) Insert element into a skip list. GLOBAL VARIABLES COMMENTS, BUGS, ASSUMPTIONS - Inserting an item with the same key as an existing object replaces - the existing object's item pointer with the new item pointer. + Inserting an item with the same key as an existing object fails. EXAMPLES REVISION LOG --------------------------------------------------------------------------*/ |