Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 30, 2021
1 parent 3ab2fd9 commit 1443d78
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions c++/test/ttypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,9 @@ test_named()
// It should be possible to define an attribute for the named type
Attribute attr1 = itype.createAttribute("attr1", PredType::NATIVE_UCHAR, space);
for (hsize_t i = 0; i < ds_size[0]; i++) {
for (hsize_t j = 0; j < ds_size[1]; j++) {
attr_data[i][j] = (unsigned)i;
}
for (hsize_t j = 0; j < ds_size[1]; j++) {
attr_data[i][j] = (unsigned)i;
}
}
attr1.write(PredType::NATIVE_UINT, attr_data);
attr1.close();
Expand Down
2 changes: 1 addition & 1 deletion hl/test/test_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ test_generate(void)
image_data[i] = 0;
else {
image_data[i] = (unsigned char)((255.0f * (data[i] - xmin)) / (xmax - xmin));
}
}
}

/* make the image */
Expand Down
2 changes: 1 addition & 1 deletion src/H5detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static const char *FileHeader = "\n\
*/
H5_GCC_DIAG_OFF("cast-align")

#if 0 //defined(__has_attribute)
#if 0 // defined(__has_attribute)
#if __has_attribute(no_sanitize_address)
#define HDF_NO_UBSAN __attribute__((no_sanitize_address))
#else
Expand Down
2 changes: 1 addition & 1 deletion tools/src/h5repack/h5repack.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ copy_named_datatype(hid_t type_in, hid_t fidout, named_dt_t **named_dt_head_p, t
if (token_cmp == 0)
break; // found it!
}

dt_ret = dt;
}
else {
Expand Down

0 comments on commit 1443d78

Please sign in to comment.