OSDN Git Service

emulator: Fix AMP emulation build error
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 10 Oct 2013 08:15:34 +0000 (10:15 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 12:59:32 +0000 (14:59 +0200)
commit0b24507b8a3e0e003b57af0849c74d8d06b2e5b0
tree5cdce61f525c3e22b2fb722483447115a901d7b1
parent1cbb3e88bed13a2ea5e2cfb1ba136d959a1208fb
emulator: Fix AMP emulation build error

This fix build with GCC 4.6.3.

  CC     emulator/amp.o
emulator/amp.c: In function ‘send_packet’:
emulator/amp.c:172:7: error: ignoring return value of ‘write’,
    declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make[1]: *** [emulator/amp.o] Error
emulator/amp.c