Skip to content
Snippets Groups Projects
Commit 55eb21fc authored by Olivier Couet's avatar Olivier Couet
Browse files

- Fix coverity reports #23130 #23131 and #23132

git-svn-id: http://root.cern.ch/svn/root/trunk@36581 27541ba8-7e3a-0410-8455-c3a389f83636
parent 90d755f1
No related branches found
No related tags found
No related merge requests found
......@@ -923,9 +923,7 @@ Bool_t TH2Poly::IsIntersectingPolygon(Int_t bn, Double_t *x, Double_t *y,
// We now know that the points are in different x and y indices
Double_t *xcoord, *ycoord;
xcoord = new Double_t[3];
ycoord = new Double_t[3];
Double_t xcoord[3], ycoord[3];
xcoord[0] = x[counter];
xcoord[1] = x[counter + 1];
ycoord[0] = y[counter];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment