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/zbin.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/zbin.c')
-rw-r--r-- | src/util/zbin.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/zbin.c b/src/util/zbin.c index f0df5ea0..a9195164 100644 --- a/src/util/zbin.c +++ b/src/util/zbin.c @@ -218,7 +218,8 @@ static int process_zinfo_pack ( struct input_file *input, return 0; } -static int process_zinfo_payl ( struct input_file *input, +static int process_zinfo_payl ( struct input_file *input + __attribute__ (( unused )), struct output_file *output, union zinfo_record *zinfo ) { struct zinfo_payload *payload = &zinfo->payload; @@ -229,9 +230,11 @@ static int process_zinfo_payl ( struct input_file *input, if ( DEBUG ) { fprintf ( stderr, "PAYL at %#zx\n", output->hdr_len ); } + return 0; } -static int process_zinfo_add ( struct input_file *input, +static int process_zinfo_add ( struct input_file *input + __attribute__ (( unused )), struct output_file *output, size_t len, struct zinfo_add *add, |