[PATCH 4/6] Fixed Visual Studio C4456 compiler warning related to
variable name hiding another variable
This commit is contained in:
parent
d0f8c6896d
commit
93ae8b41ac
|
|
@ -365,10 +365,10 @@ int sens_sens(CKTcircuit *ckt, int restart)
|
||||||
|
|
||||||
fn = DEVices[sg->dev]->DEVsetup;
|
fn = DEVices[sg->dev]->DEVsetup;
|
||||||
if (fn) {
|
if (fn) {
|
||||||
CKTnode *n = ckt->CKTlastNode;
|
CKTnode *node = ckt->CKTlastNode;
|
||||||
/* XXXX insert old state base here ?? */
|
/* XXXX insert old state base here ?? */
|
||||||
fn (delta_Y, sg->model, ckt, &ckt->CKTnumStates);
|
fn (delta_Y, sg->model, ckt, &ckt->CKTnumStates);
|
||||||
if (n != ckt->CKTlastNode) {
|
if (node != ckt->CKTlastNode) {
|
||||||
fprintf(stderr, "Internal Error: node allocation in DEVsetup() during sensitivity analysis, this will cause serious troubles !, please report this issue !\n");
|
fprintf(stderr, "Internal Error: node allocation in DEVsetup() during sensitivity analysis, this will cause serious troubles !, please report this issue !\n");
|
||||||
controlled_exit(EXIT_FAILURE);
|
controlled_exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue