From b592589bf01825379f65a2e6bdb1f7f9687b5670 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:12:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- source/framework/sensitivity/src/TRestSensitivity.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/framework/sensitivity/src/TRestSensitivity.cxx b/source/framework/sensitivity/src/TRestSensitivity.cxx index daecdac5e..b7b548729 100644 --- a/source/framework/sensitivity/src/TRestSensitivity.cxx +++ b/source/framework/sensitivity/src/TRestSensitivity.cxx @@ -194,7 +194,6 @@ void TRestSensitivity::ExportAveragedCurve(std::string fname) { } void TRestSensitivity::ExportCurve(std::string fname, int n = 0) { - std::vector curve = GetCurve(n); if (curve.empty()) return; @@ -396,7 +395,6 @@ std::vector> TRestSensitivity::GetLevelCurves(const std::v } TCanvas* TRestSensitivity::DrawCurves() { - if (fCanvas != NULL) { delete fCanvas; fCanvas = NULL; @@ -478,7 +476,6 @@ legend->Draw(); } TCanvas* TRestSensitivity::DrawLevelCurves() { - if (fCanvas != NULL) { delete fCanvas; fCanvas = NULL;