This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001525] Fix compiler warnings in bsd_tcpip files.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001525

--- Comment #2 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-09 15:02:53 GMT ---
(In reply to comment #1)

> +    CYGBLD_ATTRIB_UNUSED struct tcpcb *tp = 0;
> should have the attribute at the end for consistency.

Agreed.  I had always tried to put it after the initializer (which
doesn't compile).  It's embarassingly obvious now, but it hadn't
occurred to me that you can leave the attribute in the usual spot and
put the initializer assignment after the attribute.

I'll commit the this and 1001526 with the attribute moved.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]