Skip to content

Commit

Permalink
addressed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Sep 20, 2023
1 parent 2ab0710 commit 4d0a544
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/H5FDsubfiling/H5FDioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include "H5MMprivate.h" /* Memory management */
#include "H5Pprivate.h" /* Property lists */

#define CANBE_UNUSED(X) (void)(X)

/* The driver identification number, initialized at runtime */
static hid_t H5FD_IOC_g = H5I_INVALID_HID;

Expand Down Expand Up @@ -1223,6 +1225,7 @@ H5FD__ioc_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUS
H5FD_IOC_LOG_CALL(__func__);

assert(file && file->pub.cls);
CANBE_UNUSED(file);
assert(buf);

/* Check for overflow conditions */
Expand Down

0 comments on commit 4d0a544

Please sign in to comment.