|
From: | Bill Auerbach |
Subject: | [lwip-devel] [patch #7130] mib2.c: remove meaningless const qualifiers |
Date: | Fri, 26 Mar 2010 12:55:39 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) |
Follow-up Comment #4, patch #7130 (project lwip): >But that means something different than: >"struct mib_node* const snmp_nodes[28]" It doesn't mean something differet. const struct mib_node* snmp_nodes[28] is an array of pointers to const struct mib_node. (const struct mib_node*)&snmp_scalar is a pointer to a const struct mib_node. (struct mib_node* const)&snmp_scalar is a pointer to a struct mib_node (the const modifies nothing, hence the warning). _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?7130> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |