Browse Source

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

pre-master-46
Krzysztof Blaszkowski 10 years ago
committed by rlar
parent
commit
7720ae936f
  1. 4
      src/frontend/outitf.c

4
src/frontend/outitf.c

@ -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…
Cancel
Save