]> granicus.if.org Git - graphviz/commitdiff
remove now-unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 3 Jan 2021 01:27:53 +0000 (17:27 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 15 Feb 2021 04:40:16 +0000 (20:40 -0800)
Related to #1874.

lib/vpsc/csolve_VPSC.cpp

index 4f2f7cd664f0769118fe68118b6c69b766389ed0..482c16ce08d06a9fab2f990a2c4f328bef2640ee 100644 (file)
@@ -34,7 +34,7 @@ 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 (VPSC*)new IncVPSC(n,vs,m,cs);
+       return new IncVPSC(n,vs,m,cs);
 }
 
 int genXConstraints(int n, boxf* bb, Variable** vs, Constraint*** cs,int transitiveClosure) {