summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2014-07-01 21:35:40 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2014-07-01 21:35:40 (GMT)
commitb801416dd23ad7136926da3846b428bed18b4117 (patch)
tree981d1527f927810d88774d5f05f32a0c99f2900c
parent031699209a178baa360cef1e1a202b46cd1c3f09 (diff)
downloadhdf5-3a613ce6e3d1fd0503e68d1a326e66826c5e0dad.zip
hdf5-3a613ce6e3d1fd0503e68d1a326e66826c5e0dad.tar.gz
hdf5-3a613ce6e3d1fd0503e68d1a326e66826c5e0dad.tar.bz2
[svn-r25389] Fix warning in H5X__alacrity_scatter_cb and H5X__fastbit_scatter_cbhdf5_ff_v1
-rw-r--r--src/H5Xalacrity.c26
-rw-r--r--src/H5Xfastbit.c2
2 files changed, 14 insertions, 14 deletions
diff --git a/src/H5Xalacrity.c b/src/H5Xalacrity.c
index 41121ef..7603be2 100644
--- a/src/H5Xalacrity.c
+++ b/src/H5Xalacrity.c
@@ -524,7 +524,7 @@ static herr_t
H5X__alacrity_scatter_cb(const void **src_buf/*out*/, size_t *src_buf_bytes_used/*out*/,
void *_info)
{
- struct H5X_alacrity_scatter_info *info = (struct scatter_info *) _info;
+ struct H5X_alacrity_scatter_info *info = (struct H5X_alacrity_scatter_info *) _info;
/* Set output variables */
*src_buf = info->src_buf;
@@ -608,18 +608,18 @@ H5X__alacrity_update_index(H5X_alacrity_t *alacrity, hid_t trans_id,
/* Call ALACRITY encoder */
H5X_ALACRITY_LOG_DEBUG("Calling ALACRITY encoder on data (%zu elements)", nelmts);
-#ifdef H5X_ALACRITY_DEBUG
- {
- printf("----------------------------\n");
- printf("----------------------------\n");
- int i;
- const float *buf_float = (const float *) buf;
- for (i = 0; i < nelmts; i++)
- printf("%f\n", buf_float[i]);
- printf("----------------------------\n");
- printf("----------------------------\n");
- }
-#endif
+//#ifdef H5X_ALACRITY_DEBUG
+// {
+// printf("----------------------------\n");
+// printf("----------------------------\n");
+// int i;
+// const float *buf_float = (const float *) buf;
+// for (i = 0; i < nelmts; i++)
+// printf("%f\n", buf_float[i]);
+// printf("----------------------------\n");
+// printf("----------------------------\n");
+// }
+//#endif
if (ALErrorNone != ALEncode(&alacrity->config, buf, nelmts, alacrity->output))
HGOTO_ERROR(H5E_INDEX, H5E_CANTENCODE, FAIL, "ALACRITY encoder failed");
diff --git a/src/H5Xfastbit.c b/src/H5Xfastbit.c
index 6c3e047..cb1300f 100644
--- a/src/H5Xfastbit.c
+++ b/src/H5Xfastbit.c
@@ -547,7 +547,7 @@ static herr_t
H5X__fastbit_scatter_cb(const void **src_buf/*out*/, size_t *src_buf_bytes_used/*out*/,
void *_info)
{
- struct H5X_fastbit_scatter_info *info = (struct scatter_info *) _info;
+ struct H5X_fastbit_scatter_info *info = (struct H5X_fastbit_scatter_info *) _info;
/* Set output variables */
*src_buf = info->src_buf;