mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-05 15:39:54 +00:00
Minor changes in lwip folder: fix some warnings.
This commit is contained in:
parent
c61262d839
commit
caa1834b70
@ -247,11 +247,6 @@ snmp_msg_get_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
||||
{
|
||||
mn = snmp_search_tree((struct mib_node*)&internet, msg_ps->vb_ptr->ident_len - 4,
|
||||
msg_ps->vb_ptr->ident + 4, &np);
|
||||
}
|
||||
else
|
||||
{
|
||||
mn = NULL;
|
||||
}
|
||||
if (mn != NULL)
|
||||
{
|
||||
if (mn->node_type == MIB_NODE_EX)
|
||||
@ -341,6 +336,11 @@ snmp_msg_get_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
mn = NULL;
|
||||
}
|
||||
if (mn == NULL)
|
||||
{
|
||||
/* mn == NULL, noSuchName */
|
||||
@ -618,11 +618,6 @@ snmp_msg_set_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
||||
{
|
||||
mn = snmp_search_tree((struct mib_node*)&internet, msg_ps->vb_ptr->ident_len - 4,
|
||||
msg_ps->vb_ptr->ident + 4, &np);
|
||||
}
|
||||
else
|
||||
{
|
||||
mn = NULL;
|
||||
}
|
||||
if (mn != NULL)
|
||||
{
|
||||
if (mn->node_type == MIB_NODE_EX)
|
||||
@ -679,6 +674,11 @@ snmp_msg_set_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
mn = NULL;
|
||||
}
|
||||
if (mn == NULL)
|
||||
{
|
||||
/* mn == NULL, noSuchName */
|
||||
|
Loading…
x
Reference in New Issue
Block a user