Cleanup libgm2/libm2iso/RTco.cc
authorGaius Mulley <gaiusmod2@gmail.com>
Mon, 13 Feb 2023 19:06:36 +0000 (19:06 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Mon, 13 Feb 2023 19:06:36 +0000 (19:06 +0000)
This patch removes the macro tprintf sizeof nop hack and replaces
it with tprintf (...).

libgm2/ChangeLog:

* libm2iso/RTco.cc (tprintf): Replace definition.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
libgm2/libm2iso/RTco.cc

index eeb3810..0a0f1c0 100644 (file)
@@ -60,8 +60,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #if defined(TRACEON)
 #define tprintf printf
 #else
-/* sizeof is not evaluated.  */
-#define tprintf (void)sizeof
+#define tprintf(...)
 #endif
 
 typedef struct threadCB_s