resis/ResSimple.c: ResGetDevice(): Call to function with fewer arguments than declared parameters
gparams.rg_ttype seems to be the only value of the correct type that has connectivity with the callsite. Copilot Autofix rejected: ResGetDevice(gparams.rg_devloc, /* second argument */); resis/ResSimple.c9aa39f82(2021-05-25 22:41:52 -0400 1039) resDevice *res = ResGetDevice(gparams.rg_devloc); commit9aa39f820f(tag: 8.3.169) Date: Tue May 25 22:41:52 2021 -0400
This commit is contained in:
parent
d297b99953
commit
ce1e027c55
|
|
@ -1036,7 +1036,7 @@ ResSetPathRes()
|
|||
}
|
||||
if (ResOriginNode == NULL)
|
||||
{
|
||||
resDevice *res = ResGetDevice(gparams.rg_devloc);
|
||||
resDevice *res = ResGetDevice(gparams.rg_devloc, gparams.rg_ttype);
|
||||
ResOriginNode = res->rd_fet_source;
|
||||
ResOriginNode->rn_why = RES_NODE_ORIGIN;
|
||||
ResOriginNode->rn_noderes = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue