changeset 2659:d49870395329

fixed error error: non-void function 'miget_real_value_hyperslab'
author Vladimir S. FONOV <vladimir.fonov@gmail.com>
date Thu, 29 Mar 2012 17:20:21 -0400
parents c09787b85240
children ccc4c941889c
files libsrc2/hyper.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libsrc2/hyper.c
+++ b/libsrc2/hyper.c
@@ -757,6 +757,7 @@
 
 	hdim = volume->dim_handles[i];
 	switch (hdim->flipping_order) {
+  default:
 	case MI_FILE_ORDER:
 	  miicv_setint(icv, MI_ICV_DO_DIM_CONV, FALSE);
 	   break;
@@ -769,8 +770,6 @@
 	  if (hdim->step > 0)
 	    miicv_setint(icv, MI_ICV_DO_DIM_CONV, TRUE);
 	  break;
-	default:
-	  return;
 	}
       }
     result = miicv_attach(icv, file_id, var_id);