summaryrefslogtreecommitdiff
path: root/lib/routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index a70248633c..5f74189700 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -2201,7 +2201,7 @@ DEFUN (no_set_ip_nexthop,
"Next hop address\n"
"IP address of next hop\n")
{
- int idx;
+ int idx = 0;
VTY_DECLVAR_CONTEXT(route_map_index, index);
const char *arg = NULL;