frontend/outitf.c, #2/4, avoid repeated access to `run->numData'

This commit is contained in:
Krzysztof Blaszkowski 2015-12-29 14:48:30 +01:00 committed by rlar
parent 6fa60faf7e
commit 7720ae936f
1 changed files with 2 additions and 2 deletions

View File

@ -469,9 +469,9 @@ addSpecialDesc(runDesc *run, char *name, char *devname, char *param, int depind)
static void
OUTpD_memory(runDesc *run, IFvalue *refValue, IFvalue *valuePtr)
{
int i;
int i, n = run->numData;
for (i = 0; i < run->numData; i++) {
for (i = 0; i < n; i++) {
#ifdef TCL_MODULE
/*Locks the blt vector to stop access*/