Michael Brown
99d351605a
[build] Fix compiler warnings on some gcc versions
...
xfer_buffer() uses intf_get_dest_op() to obtain the destination
interface for xfer_deliver(), in order to check that this is the same
interface which provides xfer_buffer(). The return value from
intf_get_dest_op() (which contains the actual method implementing
xfer_deliver()) is not used.
On some gcc versions, this triggers a "value computed is not used"
warning, since the explicit type cast included within the
intf_get_dest_op() macro is treated as a "value computed".
Fix by explicitly casting the result of intf_get_dest_op() to void.
Reported-by: Matthew Helton <mwhelton@gmail.com >
Reported-by: James A. Peltier <jpeltier@sfu.ca >
Signed-off-by: Michael Brown <mcb30@ipxe.org >
2015-07-27 15:21:17 +01:00
..
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-04-24 14:41:32 +01:00
2015-04-24 15:32:04 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:37 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-07-22 21:17:47 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:50:42 +00:00
2015-07-22 21:17:47 +01:00
2015-03-02 14:17:31 +00:00
2015-03-05 11:40:13 +00:00
2015-06-29 16:44:16 +01:00
2015-03-05 11:40:13 +00:00
2015-03-05 11:40:13 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:50:42 +00:00
2011-06-28 14:45:11 +01:00
2005-03-08 18:53:11 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-07-22 21:17:47 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-03 15:24:15 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2010-04-19 23:43:39 +01:00
2015-03-02 14:50:42 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2011-03-09 20:09:26 +00:00
2012-03-26 14:43:52 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 16:35:29 +00:00
2015-06-29 11:04:10 +01:00
2015-04-24 15:36:41 +01:00
2015-03-02 14:17:31 +00:00
2015-02-16 16:25:20 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-06-29 11:03:05 +01:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-07-22 21:17:47 +01:00
2015-07-27 15:21:17 +01:00