diff options
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 7803d07..0da4d53 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -1890,15 +1890,17 @@ H5T_subset_t H5T_conv_struct_subset(const H5T_cdata_t *cdata) { H5T_conv_struct_t *priv; + H5T_subset_t ret_value; /* Return value */ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5T_conv_struct_subset) HDassert(cdata); HDassert(cdata->priv); - priv = (H5T_conv_struct_t *)(cdata->priv); + priv = (H5T_conv_struct_t*)(cdata->priv); + ret_value = priv->smembs_subset; - FUNC_LEAVE_NOAPI(priv->smembs_subset) + FUNC_LEAVE_NOAPI(ret_value) } /* end H5T_conv_struct_subset() */ |