Timo Teras wrote:
>Sounds like it's assuming the structure was previously initialized
>to all zeroes, and it's intended as a micro optimization to avoid
>writing zeroes again if the constant is zero.

Yes, that makes sense.

>Should probably just delete all those. Properly optimizing compiler
>would handle that automatically.

Apparently not, it does save a few bytes.  req.r.rtm_scope has already
been initialised to a non-zero value, though, so that one should come
out.  I'll put together a patch.

Ron
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to