[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9181] mdns: Remove unneeded slot variable from mdns
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-devel] [patch #9181] mdns: Remove unneeded slot variable from mdns_resp_add_service |
Date: |
Fri, 2 Dec 2016 07:03:49 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #4, patch #9181 (project lwip):
Axel, I have to apologize, your patch is correct. Sorry for the confusion.
However, I don't like it, I consider the current code more readable than your
version. "slot" is an indication that an empty slot was found. A compiler will
optimize the additional variable away, so it won't affect runtime anyway.
Erik, if you think the patch is an improvement, feel free to apply it.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9181>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/