diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index f4adfbe..65f7922 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -130,7 +130,8 @@ int pe_get_image_meta(const struct pe_raw_image * image, struct pe_image_meta ** if (m->aidata) { /* num of implibs */ - for (pidata=m->aidata; pidata->name_rva[0]; pidata++,m->summary.nimplibs++); + for (pidata=m->aidata; pidata->name_rva[0]; pidata++,m->summary.nimplibs++) + (void)0; /* import headers */ if (!(m->idata = calloc(m->summary.nimplibs,sizeof(*(m->idata)))))