Fixed a harmless warning in production build

This commit is contained in:
Maria Matejka 2020-05-01 15:41:42 +02:00
parent 048eb2ddf1
commit b12442c985

View file

@ -107,8 +107,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d)
/* The Clang static analyzer complains that ec may be NULL. /* The Clang static analyzer complains that ec may be NULL.
* It should be ensured to be not NULL by rt_show_prepare_tables() */ * It should be ensured to be not NULL by rt_show_prepare_tables() */
if (d->export_mode) ASSUME(!d->export_mode || ec);
ASSUME(ec);
int first = 1; int first = 1;
int pass = 0; int pass = 0;