This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001525] Fix compiler warnings in bsd_tcpip files.
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Fri, 9 Mar 2012 15:02:55 +0000
- Subject: [Bug 1001525] Fix compiler warnings in bsd_tcpip files.
- Auto-submitted: auto-generated
- References: <bug-1001525-13@http.bugs.ecos.sourceware.org/>
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.