Skip to content

Commit

Permalink
debug14
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Dec 11, 2024
1 parent 7c42f0f commit b58b5a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/H5VLcache_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,8 @@ static herr_t remove_cache(void *obj, void **req) {
return t->remove_file_cache(obj, req);
else if (o->obj_type == H5I_DATASET)
return t->remove_dataset_cache(obj, req);
else
LOG_ERROR(-1, "Unknown object type for cache removal");

Check failure

Code scanning / CodeQL

Missing return statement Error

Function remove_cache should return a value of type herr_t but does not return a value here
}

static herr_t create_cache(void *obj, void *arg, void **req) {
Expand All @@ -515,6 +517,8 @@ static herr_t create_cache(void *obj, void *arg, void **req) {
return t->create_file_cache(obj, arg, req);
else if (o->obj_type == H5I_DATASET)
return t->create_dataset_cache(obj, arg, req);
else
LOG_ERROR(-1, "Unknown object type for cache creation");

Check failure

Code scanning / CodeQL

Missing return statement Error

Function create_cache should return a value of type herr_t but does not return a value here
}
/*******************/
/* Local variables */
Expand Down

0 comments on commit b58b5a7

Please sign in to comment.