Skip to content

Commit

Permalink
Fix more Codacy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHogan committed Jan 26, 2022
1 parent 6248005 commit 6b2e7b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion adapter/vfd/H5FDhermes.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,8 @@ static herr_t H5FD__hermes_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type,
/* Page/Blob k is within the range of (addr, addr+size) */
/* Update transfer buffer */
/* Write Blob k to Hermes buffering system */
HermesBucketPut(file->bkt_handle, k_blob, buf+transfer_size, blob_size);
HermesBucketPut(file->bkt_handle, k_blob, (char *)buf + transfer_size,
blob_size);
set_blob(&(file->blob_in_bucket), k);
transfer_size += blob_size;
}
Expand Down
4 changes: 2 additions & 2 deletions adapter/vfd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ ccmake ..

Type 'c' to configure until there are no errors, then generate the makefile with 'g'. The default options should suffice for most use cases. In addition, we recommend the following options.

```
``` bash
-DCMAKE_INSTALL_PREFIX=/installation/prefix
-DHDF5_DIR=/paht/to/hdf5
-DHERMES_DIR=/path/to/hermes
```
After the makefile has been generated, you can type `make -j 2` or `cmake --build . -- -j 2`. Add `VERBOSE=1` to see detailed compiler output.

Assuming that the `CMAKE_INSTALL_PREFIX` has been set and that you have write permissions to the destination directory, you can install the driver by simply doing:
```
``` bash
make install
```

Expand Down

0 comments on commit 6b2e7b2

Please sign in to comment.