Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowman committed May 29, 2016
1 parent 0b7f4bd commit a2e41b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysctl.c
Expand Up @@ -207,7 +207,7 @@ conf_sysctl(FILE *output, char *prefix, struct ipsysctl *x)
{
int tmp = 0;

for (; x != NULL && x->name != NULL; tmp = 0, x++) {
for (; x != NULL && x->name != NULL; x++) {
if (x->def_larg) { /* this sysctl takes a value */
tmp = sysctl_int(x->mib, 0, 1);
if (tmp == x->def_larg || tmp == -1)
Expand Down

0 comments on commit a2e41b6

Please sign in to comment.