[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] ip6_addr_copy() ?
From: |
Kieran Mansley |
Subject: |
Re: [lwip-devel] ip6_addr_copy() ? |
Date: |
Sun, 12 Jun 2011 09:54:40 +0100 |
On 12 Jun 2011, at 00:17, Leon Woestenberg wrote:
> As all members of the structure are copied, why not use this instead? :
>
> dest = src;
>
> That let's the compiler do the optimization and is much more readable.
>
> Or did I overlook something?
Looks sensible to me,
Kieran