bug fixes
[satune.git] / src / common.h
index cc12ef8c354c746863bec0b9f641dbbe38a080b5..7343c83fd7dcdb58d1bc1016124a2ef24d555e01 100644 (file)
@@ -55,9 +55,9 @@ void assert_hook(void);
                if (!(expr)) { \
                        fprintf(stderr, "Error: assertion failed in %s at line %d\n", __FILE__, __LINE__); \
                        /* print_trace(); // Trace printing may cause dynamic memory allocation */ \
-                       assert_hook();                           \
-                       exit(EXIT_FAILURE); \
-               } \
+                       assert_hook();                                                                                                   \
+                       exit(EXIT_FAILURE);     \
+               }       \
        } while (0)
 #else
 #define ASSERT(expr) \