mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 09:33:44 +08:00
- Changed the names of some variables in SNMP module to avoid them shadowing each other (which produces a lot of warnings and makes the code hard to maintain)
- Added missing defines for 3 snmp-functions if LWIP_SNMP==0
This commit is contained in:
@@ -369,12 +369,12 @@ snmp_mib_node_find(struct mib_list_rootnode *rn, s32_t objid, struct mib_list_no
|
||||
}
|
||||
else
|
||||
{
|
||||
struct mib_list_rootnode *rn;
|
||||
struct mib_list_rootnode *r;
|
||||
|
||||
if (n->nptr->node_type == MIB_NODE_LR)
|
||||
{
|
||||
rn = (struct mib_list_rootnode *)n->nptr;
|
||||
if (rn->count > 1)
|
||||
r = (struct mib_list_rootnode *)n->nptr;
|
||||
if (r->count > 1)
|
||||
{
|
||||
/* can't delete node */
|
||||
fc = 2;
|
||||
|
||||
Reference in New Issue
Block a user