aboutsummaryrefslogtreecommitdiff
path: root/snmp_mibII/mibII_ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'snmp_mibII/mibII_ip.c')
-rw-r--r--snmp_mibII/mibII_ip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/snmp_mibII/mibII_ip.c b/snmp_mibII/mibII_ip.c
index 11efe8274dd8..8290eebbc6f0 100644
--- a/snmp_mibII/mibII_ip.c
+++ b/snmp_mibII/mibII_ip.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -151,7 +151,7 @@ int
op_ip(struct snmp_context *ctx, struct snmp_value *value,
u_int sub, u_int idx __unused, enum snmp_op op)
{
- int old;
+ int old = 0;
switch (op) {