[Toybox] [PATCH] tar: fix warn_unused_result error.

enh enh at google.com
Tue Aug 31 09:16:50 PDT 2021


  toys/posix/tar.c:821:7: error: ignoring return value of
  function declared with 'warn_unused_result' attribute
      write(sefd, 0, 0);
      ^~~~~ ~~~~~~~~~~
---
 toys/posix/tar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210831/9bad4e4d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tar-fix-warn_unused_result-error.patch
Type: text/x-patch
Size: 841 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210831/9bad4e4d/attachment-0002.bin>


More information about the Toybox mailing list