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

Fix coverity reports UNINIT

git-svn-id: http://root.cern.ch/svn/root/trunk@42690 27541ba8-7e3a-0410-8455-c3a389f83636
parent eb984cc7
No related branches found
No related tags found
No related merge requests found
......@@ -423,7 +423,7 @@ void TCreatePrimitives::PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode)
gPad->Modified(kTRUE);
if (mode == kCutG && gr) {
gr->Set(gr->GetN() + 1);
Double_t x0, y0;
Double_t x0 = 0., y0 = 0.;
gr->GetPoint(0, x0, y0);
gr->SetPoint(npoints, x0, y0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment