The CLI code ensures that the clippy code produces
valid input for the zebra_routemap.c functions, but
coverity SA does not understand this fact. So add
some asserts to make the coverity SA happy.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
{
int ret, rtype;
+ assert(proto);
+ assert(rmap);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
{
int ret, rtype;
+ assert(proto);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
{
int ret, rtype;
+ assert(rmap);
+ assert(proto);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
{
int ret, rtype;
+ assert(proto);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
int ret, rtype;
+ assert(proto);
+ assert(rmap);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
{
int ret, rtype;
+ assert(proto);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
{
int ret, rtype;
+ assert(rmap);
+ assert(proto);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)
{
int ret, rtype;
+ assert(proto);
+
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
if (!zvrf)