frontend/outitf.c, #2/4, avoid repeated access to `run->numData'
This commit is contained in:
parent
6fa60faf7e
commit
7720ae936f
|
|
@ -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*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue