public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5968] Cleanup libgm2/libm2iso/RTco.cc
@ 2023-02-13 19:07 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-02-13 19:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:296cf77b78b5c95069a9c07a2919d82438db2fba

commit r13-5968-g296cf77b78b5c95069a9c07a2919d82438db2fba
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Mon Feb 13 19:06:36 2023 +0000

    Cleanup libgm2/libm2iso/RTco.cc
    
    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>

Diff:
---
 libgm2/libm2iso/RTco.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libgm2/libm2iso/RTco.cc b/libgm2/libm2iso/RTco.cc
index eeb38106f12..0a0f1c03a99 100644
--- a/libgm2/libm2iso/RTco.cc
+++ b/libgm2/libm2iso/RTco.cc
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-13 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 19:07 [gcc r13-5968] Cleanup libgm2/libm2iso/RTco.cc Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).