mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
snmp: fix coding style
no need to initialize global static variables to NULL
This commit is contained in:
parent
c23aa713f9
commit
ed59260b92
@ -71,8 +71,11 @@ const char *snmp_community_write = SNMP_COMMUNITY_WRITE;
|
||||
/** SNMP community string for sending traps */
|
||||
const char *snmp_community_trap = SNMP_COMMUNITY_TRAP;
|
||||
|
||||
snmp_write_callback_fct snmp_write_callback = NULL;
|
||||
void *snmp_write_callback_arg = NULL;
|
||||
snmp_write_callback_fct snmp_write_callback;
|
||||
void *snmp_write_callback_arg;
|
||||
|
||||
snmp_inform_callback_fct snmp_inform_callback;
|
||||
void *snmp_inform_callback_arg;
|
||||
|
||||
#if LWIP_SNMP_CONFIGURE_VERSIONS
|
||||
|
||||
@ -155,9 +158,6 @@ snmp_v3_enable(u8_t enable)
|
||||
|
||||
#endif
|
||||
|
||||
snmp_inform_callback_fct snmp_inform_callback = NULL;
|
||||
void* snmp_inform_callback_arg = NULL;
|
||||
|
||||
/**
|
||||
* @ingroup snmp_core
|
||||
* Returns current SNMP community string.
|
||||
|
Loading…
Reference in New Issue
Block a user