summaryrefslogtreecommitdiffstats
path: root/src/H5FDdirect.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-01-29 14:19:31 (GMT)
committerGitHub <noreply@github.com>2021-01-29 14:19:31 (GMT)
commit1bf8fa2665fd606d7c616eaa4223decfce2c25f2 (patch)
tree71d16fc54d0bdd05ca8b85451026eabb482ee7e2 /src/H5FDdirect.c
parent98a27f1fe4f0cb96ce7fdeee2e95079ae19db5cd (diff)
downloadhdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.zip
hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.tar.gz
hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.tar.bz2
1 12 Whitespace changes after clang-format run (#288)
* OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version
Diffstat (limited to 'src/H5FDdirect.c')
-rw-r--r--src/H5FDdirect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c
index eb2590f..605ca71 100644
--- a/src/H5FDdirect.c
+++ b/src/H5FDdirect.c
@@ -660,7 +660,7 @@ H5FD__direct_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
HGOTO_DONE(-1)
if (f1->device > f2->device)
HGOTO_DONE(1)
-#else /* H5_DEV_T_IS_SCALAR */
+#else /* H5_DEV_T_IS_SCALAR */
/* If dev_t isn't a scalar value on this system, just use memcmp to
* determine if the values are the same or not. The actual return value
* shouldn't really matter...
@@ -1276,7 +1276,7 @@ H5FD__direct_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_AT
(void)SetFilePointer((HANDLE)filehandle, li.LowPart, &li.HighPart, FILE_BEGIN);
if (SetEndOfFile((HANDLE)filehandle) == 0)
HGOTO_ERROR(H5E_IO, H5E_SEEKERROR, FAIL, "unable to extend file properly")
-#else /* H5_HAVE_WIN32_API */
+#else /* H5_HAVE_WIN32_API */
if (-1 == HDftruncate(file->fd, (HDoff_t)file->eoa))
HSYS_GOTO_ERROR(H5E_IO, H5E_SEEKERROR, FAIL, "unable to extend file properly")
#endif /* H5_HAVE_WIN32_API */