Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Trivial: Cleanup missing va_ends.
[vpp.git]
/
src
/
vnet
/
mfib
/
mfib_test.c
diff --git
a/src/vnet/mfib/mfib_test.c
b/src/vnet/mfib/mfib_test.c
index
2a12a38
..
fda0258
100644
(file)
--- a/
src/vnet/mfib/mfib_test.c
+++ b/
src/vnet/mfib/mfib_test.c
@@
-229,7
+229,6
@@
mfib_test_entry (fib_node_index_t fei,
va_list ap;
int res;
va_list ap;
int res;
- va_start(ap, n_buckets);
res = 0;
mfe = mfib_entry_get(fei);
res = 0;
mfe = mfib_entry_get(fei);
@@
-263,12
+262,13
@@
mfib_test_entry (fib_node_index_t fei,
format_mfib_prefix, &pfx,
format_dpo_type, tmp.dpoi_type);
format_mfib_prefix, &pfx,
format_dpo_type, tmp.dpoi_type);
+ va_start(ap, n_buckets);
res = mfib_test_validate_rep_v(rep, n_buckets, &ap);
res = mfib_test_validate_rep_v(rep, n_buckets, &ap);
+ va_end(ap);
dpo_reset(&tmp);
}
dpo_reset(&tmp);
}
- va_end(ap);
return (res);
}
return (res);
}