summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-20 20:18:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-20 20:18:01 (GMT)
commitde0f6670767e952c5a0a7bb3418164f42d92ba6f (patch)
tree5276cd6fadd6150432a6010f0aaddd97376306cc /tools/lib/h5tools_str.c
parent23f813026f06f3ed9aa9fea86df265950eb6770f (diff)
downloadhdf5-de0f6670767e952c5a0a7bb3418164f42d92ba6f.zip
hdf5-de0f6670767e952c5a0a7bb3418164f42d92ba6f.tar.gz
hdf5-de0f6670767e952c5a0a7bb3418164f42d92ba6f.tar.bz2
Fix compile statement order
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index f734cce..4b27847 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -1320,9 +1320,10 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
case H5T_BITFIELD:
case H5T_OPAQUE:
{
- H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "OTHER");
/* All other types get printed as hexadecimal */
size_t i;
+
+ H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "OTHER");
if(1 == nsize)
h5tools_str_append(str, "0x%02x", ucp_vp[0]);
else