X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fcnxk%2Fcnxk_ethdev_mtr.c;h=02803bdf7540185b85cfc1df6f45d66d4710d6c5;hb=3c100e0e6b9c7865193cc07236ac347927660ff2;hp=c8183aa12db9ae159d8aab2edd7f92d6e984a20d;hpb=b526599020ef06811dd08c4f15c0cdf049d7f9f2;p=dpdk.git diff --git a/drivers/net/cnxk/cnxk_ethdev_mtr.c b/drivers/net/cnxk/cnxk_ethdev_mtr.c index c8183aa12d..02803bdf75 100644 --- a/drivers/net/cnxk/cnxk_ethdev_mtr.c +++ b/drivers/net/cnxk/cnxk_ethdev_mtr.c @@ -288,7 +288,7 @@ cnxk_nix_mtr_profile_delete(struct rte_eth_dev *eth_dev, uint32_t profile_id, static int update_mtr_err(uint32_t act_color, struct rte_mtr_error *error, bool action) { - const char *str; + const char *str = NULL; switch (act_color) { case RTE_COLOR_GREEN: if (action) {