diff --git a/src/include/h5core/h5_log.h b/src/include/h5core/h5_log.h
index cc94cb7023da9e913d968e25b38e1ace5e0ebd24..b7193377549e90d24094db656b641406f9f26b7e 100644
--- a/src/include/h5core/h5_log.h
+++ b/src/include/h5core/h5_log.h
@@ -210,11 +210,11 @@ h5_get_loglevel (
 // function enter macro
 #if defined(NDEBUG)
 
-#define H5_API_ENTER(type, fmt, ...)		\
-	type ret_value = (type)H5_ERR;
-	h5_initialize();
+#define H5_API_ENTER(type, fmt, ...)					\
+	type ret_value = (type)H5_ERR;					\
+	h5_initialize();						\
 	h5_call_stack_reset ();						\
-	h5_call_stack_push (__func__,e_##type);				\
+	h5_call_stack_push (__func__,e_##type);
 
 #else   // NDEBUG not defined