outitf.c, cleanup return

This commit is contained in:
rlar 2012-05-18 21:06:34 +02:00
parent 486ffc9429
commit ccea57570e
1 changed files with 0 additions and 17 deletions

View File

@ -809,8 +809,6 @@ fileInit(runDesc *run)
fprintf(run->fp, "Variables:\n"); fprintf(run->fp, "Variables:\n");
printf("No. of Data Columns : %d \n", run->numData); printf("No. of Data Columns : %d \n", run->numData);
return;
} }
@ -870,9 +868,6 @@ fileInit_pass2(runDesc *run)
rowbuflen *= 2; rowbuflen *= 2;
rowbuf = TMALLOC(double, rowbuflen); rowbuf = TMALLOC(double, rowbuflen);
} else rowbuf=NULL; } else rowbuf=NULL;
return;
} }
@ -885,8 +880,6 @@ fileStartPoint(FILE *fp, bool bin, int num)
/* reset buffer pointer to zero */ /* reset buffer pointer to zero */
column = 0; column = 0;
return;
} }
@ -897,8 +890,6 @@ fileAddRealValue(FILE *fp, bool bin, double value)
rowbuf[column++] = value; rowbuf[column++] = value;
else else
fprintf(fp, "\t%.*e\n", DOUBLE_PRECISION, value); fprintf(fp, "\t%.*e\n", DOUBLE_PRECISION, value);
return;
} }
@ -923,7 +914,6 @@ fileEndPoint(FILE *fp, bool bin)
/* write row buffer to file */ /* write row buffer to file */
fwrite(rowbuf, sizeof(double), rowbuflen, fp); fwrite(rowbuf, sizeof(double), rowbuflen, fp);
}; /* otherwise the data has already been written */ }; /* otherwise the data has already been written */
return;
} }
@ -951,8 +941,6 @@ fileEnd(runDesc *run)
/* deallocate row buffer */ /* deallocate row buffer */
tfree(rowbuf); tfree(rowbuf);
} }
return;
} }
@ -1048,8 +1036,6 @@ plotAddRealValue(dataDesc *desc, double value)
} }
v->v_length++; v->v_length++;
v->v_dims[0] = v->v_length; /* va, must be updated */ v->v_dims[0] = v->v_length; /* va, must be updated */
return;
} }
@ -1064,8 +1050,6 @@ plotAddComplexValue(dataDesc *desc, IFcomplex value)
v->v_compdata[v->v_length].cx_imag = value.imag; v->v_compdata[v->v_length].cx_imag = value.imag;
v->v_length++; v->v_length++;
v->v_dims[0] = v->v_length; /* va, must be updated */ v->v_dims[0] = v->v_length; /* va, must be updated */
return;
} }
@ -1075,7 +1059,6 @@ plotEnd(runDesc *run)
{ {
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stdout, "\nNo. of Data Rows : %d\n", run->pointCount); fprintf(stdout, "\nNo. of Data Rows : %d\n", run->pointCount);
return;
} }