From: Matthew Fernandez Date: Sat, 26 Jun 2021 18:19:55 +0000 (-0700) Subject: remove unused newVPSC X-Git-Tag: 2.48.0~23^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=346b9f9adcadc2591b7786a4d3fb2857ea4b3d85;p=graphviz remove unused newVPSC --- diff --git a/lib/vpsc/csolve_VPSC.cpp b/lib/vpsc/csolve_VPSC.cpp index 8e44fa63a..19d1c19f5 100644 --- a/lib/vpsc/csolve_VPSC.cpp +++ b/lib/vpsc/csolve_VPSC.cpp @@ -31,9 +31,6 @@ Variable* newVariable(int id, double desiredPos, double weight) { Constraint* newConstraint(Variable* left, Variable* right, double gap) { return new Constraint(left,right,gap); } -VPSC* newVPSC(int n, Variable* vs[], int m, Constraint* cs[]) { - return new VPSC(n,vs,m,cs); -} VPSC* newIncVPSC(int n, Variable* vs[], int m, Constraint* cs[]) { return new IncVPSC(n,vs,m,cs); } diff --git a/lib/vpsc/csolve_VPSC.h b/lib/vpsc/csolve_VPSC.h index 941864f39..b8aabcc22 100644 --- a/lib/vpsc/csolve_VPSC.h +++ b/lib/vpsc/csolve_VPSC.h @@ -27,7 +27,6 @@ typedef struct Constraint Constraint; Constraint* newConstraint(Variable* left, Variable* right, double gap); typedef struct VPSC VPSC; -VPSC* newVPSC(int n, Variable* vs[], int m, Constraint* cs[]); void deleteVPSC(VPSC*); void deleteConstraint(Constraint*); void deleteVariable(Variable*);