Przeglądaj źródła

exports.c: fix warning: 'dummy' defined but not used

Also get rid of the #ifdef's while doing this.

Suggested-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk 15 lat temu
rodzic
commit
c0c15379e2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/exports.c

+ 1 - 1
common/exports.c

@@ -3,7 +3,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static void dummy(void)
+__attribute__((unused)) static void dummy(void)
 {
 }