summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 13:06:36 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:36 -0500
commit063803f7437657b26629c404c7d37fae27516a13 (patch)
tree894c88de1d3469f39478a514404f86cad352b0a9 /src/logic
parentb18054bc9db6bfdb6966d23291e2e14abda913ba (diff)
downloadperk-063803f7437657b26629c404c7d37fae27516a13.tar.bz2
perk-063803f7437657b26629c404c7d37fae27516a13.tar.xz
pe_get_image_meta(): encode empty statement.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/pe_get_image_meta.c3
1 files changed, 2 insertions, 1 deletions
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)))))