Commit ae419644 authored by sagnowski's avatar sagnowski
Browse files

Remove unnecessary semicolons

parent 0cabf5ca
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ static Word16 saturate (Word32 L_var1);
      printf("[BASOP] %s\n", strings[i]);                                      \
    }                                                                          \
    free(strings);                                                             \
  } while (0);
  } while (0)
#elif defined _WIN32 || defined _WIN64
#include <windows.h>
#include <dbghelp.h>
@@ -199,13 +199,13 @@ static Word16 saturate (Word32 L_var1);
    }                                                                          \
                                                                               \
    free(symbol);                                                              \
  } while (0);
  } while (0)
#else
#define PRINT_STACK()                                                          \
  do {                                                                         \
    printf("[BASOP] <call stack would be here> - printing call stack is not "  \
           "supported on this platform\n");                                    \
  } while (0);
  } while (0)
#endif

/* Using macro instead of function here to avoid pushing new frames onto the stack */
@@ -213,14 +213,14 @@ static Word16 saturate (Word32 L_var1);
  do {                                                                         \
    printf("[BASOP] Overflow occured. Call stack:\n");                         \
    PRINT_STACK();                                                             \
  } while (0);
  } while (0)

/* Using macro instead of function here to avoid pushing new frames onto the stack */
#define PRINT_BASOP_NOGLOB_ERROR()                                             \
  do {                                                                         \
    printf("[BASOP] Overflow error occured. Call stack:\n");                   \
    PRINT_STACK();                                                             \
  } while (0);
  } while (0)
#endif /* BASOP_PRINT_ON_WARNING */

#if defined BASOP_PRINT_ON_WARNING || defined BASOP_ABORT_ON_WARNING