Skip to content

Commit

Permalink
Suppress unused variable in snmp
Browse files Browse the repository at this point in the history
force_ipv6 may be unused if compiling without ipv6 support.
  • Loading branch information
nikic committed Sep 8, 2020
1 parent 9540e70 commit 6e91a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/snmp/snmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ static int netsnmp_session_init(php_snmp_session **session_p, int version, char
{
php_snmp_session *session;
char *pptr, *host_ptr;
int force_ipv6 = FALSE;
int force_ipv6 = FALSE; (void) force_ipv6;
int n;
struct sockaddr **psal;
struct sockaddr **res;
Expand Down

0 comments on commit 6e91a2e

Please sign in to comment.