diff options
author | Michael Brown | 2012-04-10 20:38:54 +0200 |
---|---|---|
committer | Michael Brown | 2012-04-10 20:38:54 +0200 |
commit | 196751ce95fa6b6566a5b336193681fad3581fd1 (patch) | |
tree | 5f4c47b8b7099513f34f6219abccb437b8656cb9 /src/util/nrv2b.c | |
parent | [igbvf] Add i350 virtual function support (diff) | |
download | ipxe-196751ce95fa6b6566a5b336193681fad3581fd1.tar.gz ipxe-196751ce95fa6b6566a5b336193681fad3581fd1.tar.xz ipxe-196751ce95fa6b6566a5b336193681fad3581fd1.zip |
[build] Enable warnings when building utilities
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util/nrv2b.c')
-rw-r--r-- | src/util/nrv2b.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/nrv2b.c b/src/util/nrv2b.c index 6bac4cdd..cbb94c0e 100644 --- a/src/util/nrv2b.c +++ b/src/util/nrv2b.c @@ -77,7 +77,7 @@ static __inline__ void Error(char *message) /* These will be a complete waste of time on a lo-endian */ /* system, but it only gets done once so WTF. */ -static unsigned long i86ul_to_host(unsigned long ul) +static unsigned long __attribute__ (( unused )) i86ul_to_host(unsigned long ul) { unsigned long res = 0; int i; @@ -375,7 +375,6 @@ static int swd_init(struct ucl_swd *s, const uint8_t *dict, unsigned int dict_len) { unsigned int i = 0; - int c = 0; if (s->n == 0) s->n = N; @@ -439,7 +438,7 @@ static void swd_exit(struct ucl_swd *s) { /* unused s */ - + ( void ) s; } #define swd_pos2off(s,pos) \ |