summaryrefslogtreecommitdiffstats
path: root/src/H5Tdbg.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2012-09-10 17:00:05 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2012-09-10 17:00:05 (GMT)
commitb951fb9fe18370c5201846e348168996e7a59a1d (patch)
treeb970eb5810f015ce45b12c4e317a892fa19352b2 /src/H5Tdbg.c
parentd1060f63b754296ab312e714f50ecbd29748b25a (diff)
downloadhdf5-b951fb9fe18370c5201846e348168996e7a59a1d.zip
hdf5-b951fb9fe18370c5201846e348168996e7a59a1d.tar.gz
hdf5-b951fb9fe18370c5201846e348168996e7a59a1d.tar.bz2
[svn-r22749] Description:
Undo of accidental check-in of H5T code in last check-in. Tested on: jam w/ parallel enabled (revert to pre-existing code)
Diffstat (limited to 'src/H5Tdbg.c')
-rw-r--r--src/H5Tdbg.c41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/H5Tdbg.c b/src/H5Tdbg.c
index a19a15a..e5df7ff 100644
--- a/src/H5Tdbg.c
+++ b/src/H5Tdbg.c
@@ -34,9 +34,9 @@
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5Tpkg.h" /* Datatypes */
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5Tpkg.h" /* Datatypes */
/****************/
@@ -372,25 +372,26 @@ H5T_debug(const H5T_t *dt, FILE *stream)
fprintf(stream, "\n");
} /* end else */
} else if(H5T_ENUM == dt->shared->type) {
- size_t base_size;
-
- /* Enumeration data type */
- fprintf(stream, " ");
- H5T_debug(dt->shared->parent, stream);
- base_size = dt->shared->parent->shared->size;
- for(i = 0; i < dt->shared->u.enumer.nmembs; i++) {
- size_t k;
-
- fprintf(stream, "\n\"%s\" = 0x", dt->shared->u.enumer.name[i]);
- for(k = 0; k < base_size; k++)
- fprintf(stream, "%02lx", (unsigned long)(dt->shared->u.enumer.value + (i * base_size) + k));
- } /* end for */
- fprintf(stream, "\n");
+ size_t base_size;
+
+ /* Enumeration data type */
+ fprintf(stream, " ");
+ H5T_debug(dt->shared->parent, stream);
+ base_size = dt->shared->parent->shared->size;
+ for(i = 0; i < dt->shared->u.enumer.nmembs; i++) {
+ size_t k;
+
+ fprintf(stream, "\n\"%s\" = 0x", dt->shared->u.enumer.name[i]);
+ for(k = 0; k < base_size; k++)
+ fprintf(stream, "%02lx",
+ (unsigned long)(dt->shared->u.enumer.value + (i * base_size) + k));
+ } /* end for */
+ fprintf(stream, "\n");
} else if(H5T_OPAQUE == dt->shared->type) {
- fprintf(stream, ", tag=\"%s\"", dt->shared->u.opaque.tag);
+ fprintf(stream, ", tag=\"%s\"", dt->shared->u.opaque.tag);
} else {
- /* Unknown */
- fprintf(stream, "unknown class %d\n", (int)(dt->shared->type));
+ /* Unknown */
+ fprintf(stream, "unknown class %d\n", (int)(dt->shared->type));
}
fprintf(stream, "}");