projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ae4dd
)
core/fs/pxe/pxe.c: remove variables set but not used
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 16 Mar 2011 20:10:36 +0000
(13:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 16 Mar 2011 20:10:36 +0000
(13:10 -0700)
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/pxe/pxe.c
patch
|
blob
|
history
diff --git
a/core/fs/pxe/pxe.c
b/core/fs/pxe/pxe.c
index
a1e4097
..
aef2e7e
100644
(file)
--- a/
core/fs/pxe/pxe.c
+++ b/
core/fs/pxe/pxe.c
@@
-332,6
+332,7
@@
static void ack_packet(struct inode *inode, uint16_t ack_num)
udp_write.buffer_size = 4;
err = pxe_call(PXENV_UDP_WRITE, &udp_write);
+ (void)err;
#if 0
printf("sent %s\n", err ? "FAILED" : "OK");
#endif