src/dpdkstat.c:128:10: error: unused variable ‘errbuf’ [-Werror=unused-variable]
src/dpdkstat.c:449:10: error: unused variable ‘errbuf’ [-Werror=unused-variable]
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
int ret = dpdk_helper_init(g_shm_name, sizeof(dpdk_stats_ctx_t), &g_hc);
if (ret != 0) {
- char errbuf[ERR_BUF_SIZE];
ERROR("%s: failed to initialize %s helper(error: %s)", DPDK_STATS_PLUGIN,
g_shm_name, STRERRNO);
return ret;
int ret;
ret = dpdk_helper_init(g_shm_name, data_size, &g_hc);
if (ret != 0) {
- char errbuf[ERR_BUF_SIZE];
ERROR("%s: failed to initialize %s helper(error: %s)", DPDK_STATS_PLUGIN,
g_shm_name, STRERRNO);
return ret;