summaryrefslogtreecommitdiffstats
path: root/src/H5L.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2020-12-12 03:25:24 (GMT)
committerGitHub <noreply@github.com>2020-12-12 03:25:24 (GMT)
commit9e72b7f834eba0e7225bbec858da14431e0c6954 (patch)
tree0f98c594f5fc16c7db4f1df20c45498aba82cbc8 /src/H5L.c
parent71a7ad0e075b8bcb104a62a177115efbf85ae91e (diff)
downloadhdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.zip
hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.gz
hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.bz2
Minor normalization with the async branch (#159)
* Minor normalization with the async branch * Update CMake and the Autotools to use the new pass-through VOL ID
Diffstat (limited to 'src/H5L.c')
-rw-r--r--src/H5L.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 699521f..fbf5b1f 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -434,7 +434,7 @@ done:
*
* Return: Non-negative on success/Negative on failure
*
- * Programmer: Robb Matzke
+ * Programmer: Robb Matzke
* Monday, April 6, 1998
*
*-------------------------------------------------------------------------
@@ -505,7 +505,7 @@ done:
*
* Return: Non-negative on success/Negative on failure
*
- * Programmer: Robb Matzke
+ * Programmer: Robb Matzke
* Monday, April 6, 1998
*
*-------------------------------------------------------------------------
@@ -3251,6 +3251,10 @@ H5L__exists(const H5G_loc_t *loc, const char *name)
FUNC_ENTER_PACKAGE
+ /* Sanity checks */
+ HDassert(loc);
+ HDassert(name);
+
/* A path of "/" will always exist in a file */
if (0 == HDstrcmp(name, "/"))
HGOTO_DONE(TRUE)