[Toybox] [PATCH] 4a4b3d65644ce403b0f22887fc0d38b0202ec8c7 upset clang.

enh enh at google.com
Sun Feb 19 09:30:22 PST 2017


Recent-ish clang doesn't like self-assignment. Google/Android code always
uses the [template-based moral equivalent of] __attribute__((__unused__))
to keep both compilers happy.
---
 lib/lib.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-4a4b3d65644ce403b0f22887fc0d38b0202ec8c7-upset-clang.patch
Type: text/x-patch
Size: 1502 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20170219/4a08109d/attachment-0003.bin>


More information about the Toybox mailing list