Adding warning removal attr
This commit is contained in:
parent
a5d9fc0def
commit
e191513f70
|
@ -9,6 +9,12 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
# ifdef __GNUC__
|
||||||
|
# define MAYBE_UNUSED __attribute__((unused))
|
||||||
|
# else
|
||||||
|
# define MAYBE_UNUSED
|
||||||
|
# endif
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
/*** See README for a general overview of the interface architecture. ***/
|
/*** See README for a general overview of the interface architecture. ***/
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
|
|
@ -185,7 +185,7 @@ static void fprintf_debug(NewGC *gc, mpage *page, const char *msg, objhead *info
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define GCVERBOSEPAGE(gc, msg, page) /* EMPTY */
|
# define GCVERBOSEPAGE(gc, msg, page) /* EMPTY */
|
||||||
static void GCVERBOSEprintf(NewGC *gc, const char *fmt, ...) {
|
MAYBE_UNUSED static void GCVERBOSEprintf(NewGC *gc, const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user