der verbleibende einzelne varlgrind report

This commit is contained in:
rlar 2012-12-17 21:47:46 +01:00
parent c9fa0c60b7
commit 588eac0d7e
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ void INP2V(CKTcircuit *ckt, INPtables * tab, card * current)
IFC(newInstance, (ckt, tab->defVmod, &fast, name));
IFC(bindNode, (ckt, fast, 1, node1));
IFC(bindNode, (ckt, fast, 2, node2));
PARSECALL((&line, ckt, type, fast, &leadval, &waslead, tab));
PARSECALL((&line, ckt, type, fast, &leadval, &waslead, tab)); /* !! */
if (waslead) {
ptemp.rValue = leadval;
GCA(INPpName, ("dc", &ptemp, ckt, type, fast));

View File

@ -56,7 +56,7 @@ char *INPdevParse(char **line, CKTcircuit *ckt, int dev, GENinstance *fast,
for (i = 0; i < *(ft_sim->devices[dev]->numInstanceParms); i++) {
if (strcmp(parm, ft_sim->devices[dev]->instanceParms[i].keyword) == 0) {
val =
INPgetValue(ckt, line,
INPgetValue(ckt, line, /* !! */
ft_sim->devices[dev]->instanceParms[i].dataType,
tab);
if (!val) {

View File

@ -37,7 +37,7 @@ IFvalue *INPgetValue(CKTcircuit *ckt, char **line, int type, INPtables * tab)
/*printf(" returning vector value %g\n",tmp); */
temp.v.numValue++;
list =
TREALLOC(double, list, temp.v.numValue);
TREALLOC(double, list, temp.v.numValue); /* !! */
*(list + temp.v.numValue - 1) = tmp;
tmp = INPevaluate(line, &error, 1);
}