From c0c15379e22b1006806c9219934415b84e8d338a Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 20 Jun 2010 23:33:02 +0200 Subject: [PATCH] exports.c: fix warning: 'dummy' defined but not used Also get rid of the #ifdef's while doing this. Suggested-by: Mike Frysinger Signed-off-by: Wolfgang Denk --- common/exports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/exports.c b/common/exports.c index 60bba750f7..ceee73a13e 100644 --- a/common/exports.c +++ b/common/exports.c @@ -3,7 +3,7 @@ DECLARE_GLOBAL_DATA_PTR; -static void dummy(void) +__attribute__((unused)) static void dummy(void) { } -- 2.30.2