Commits

Ondřej Surý committed ad2c5c0

Fix warning: ISO C99 requires rest arguments to be used [enabled by default]

  • Participants
  • Parent commits 6cc113c

Comments (0)

Files changed (1)

File tests/gdtest/gdtest.h

 
 #define gdTestAssert(cond) _gdTestAssert(__FILE__, __LINE__, "assert failed in <%s:%i>\n", (cond))
 
-#define gdTestErrorMsg(format, ...) _gdTestErrorMsg(__FILE__, __LINE__, format, ## __VA_ARGS__)
+#define gdTestErrorMsg(...) _gdTestErrorMsg(__FILE__, __LINE__, __VA_ARGS__)
 
 void gdSilence(int priority, const char *format, va_list args);