diff options
author | midipix <writeonce@midipix.org> | 2016-03-04 13:20:22 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-04 13:20:22 -0500 |
commit | 4d825e8a11f4e5db80858ebd0efa1ceb67a00cb1 (patch) | |
tree | 9130469b4e2d158da06c49c079b22b807d54ac69 /src/driver | |
parent | 4e499f0f5fdec0167304927959f7a259490e67db (diff) | |
download | apimagic-4d825e8a11f4e5db80858ebd0efa1ceb67a00cb1.tar.bz2 apimagic-4d825e8a11f4e5db80858ebd0efa1ceb67a00cb1.tar.xz |
amgc_driver_ctx_alloc(): rename a shadowing variable.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/amgc_driver_ctx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c index ffe319d..df149e9 100644 --- a/src/driver/amgc_driver_ctx.c +++ b/src/driver/amgc_driver_ctx.c @@ -77,7 +77,7 @@ static struct amgc_driver_ctx_impl * amgc_driver_ctx_alloc( struct amgc_action * actions; size_t size; struct argv_entry * entry; - const char ** units; + const char ** aunits; size = sizeof(struct amgc_driver_ctx_alloc); size += (nunits+1)*sizeof(const char *); @@ -93,9 +93,9 @@ static struct amgc_driver_ctx_impl * amgc_driver_ctx_alloc( if (cctx) memcpy(&ictx->ctx.cctx,cctx,sizeof(*cctx)); - for (entry=meta->entries,units=ictx->units; entry->fopt || entry->arg; entry++) + for (entry=meta->entries,aunits=ictx->units; entry->fopt || entry->arg; entry++) if (!entry->fopt) - *units++ = entry->arg; + *aunits++ = entry->arg; ictx->meta = meta; ictx->ctx.fdtmpin = -1; |