]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ena/ena_ethdev.c
net/ena: fix build for O1 optimization
[dpdk.git] / drivers / net / ena / ena_ethdev.c
index c3fd3a4ac0fea617e7aaec8d705df6cf9f21b32f..fbddc79f796790481f19ef36fdbeff0189aed602 100644 (file)
@@ -1756,7 +1756,7 @@ static int eth_ena_dev_init(struct rte_eth_dev *eth_dev)
        int rc;
        static int adapters_found;
        bool disable_meta_caching;
-       bool wd_state;
+       bool wd_state = false;
 
        eth_dev->dev_ops = &ena_dev_ops;
        eth_dev->rx_pkt_burst = &eth_ena_recv_pkts;