diff --git a/examples/dcdriftdist.C b/examples/dcdriftdist.C index fe67618e90a191c4e381d9b2a8e9dd7504cafcc9..ca6023ec9fee30e60634411b5f0813e6098bb1a2 100644 --- a/examples/dcdriftdist.C +++ b/examples/dcdriftdist.C @@ -22,7 +22,7 @@ for(Int_t ih=0;ih<12;ih++) { Int_t ipad = 2*(ih%6)+1 + ih/6; cout << ipad << endl; - TPad *pt = c1->cd(ipad); + c1->cd(ipad); h[ih]->SetFillColor(kBlue); h[ih]->SetFillStyle(3354); h[ih]->Draw(); diff --git a/examples/dchitmaps.C b/examples/dchitmaps.C index ce968cdd40c94219295fb1e60cfd25c285b5df53..c3285011bf6757949179aeef7fe5b88a34aedaa2 100644 --- a/examples/dchitmaps.C +++ b/examples/dchitmaps.C @@ -22,7 +22,7 @@ for(Int_t ih=0;ih<12;ih++) { Int_t ipad = 2*(ih%6)+1 + ih/6; cout << ipad << endl; - TPad *pt = c1->cd(ipad); + c1->cd(ipad); h[ih]->SetFillColor(kBlue); h[ih]->SetFillStyle(3354); h[ih]->Draw();