Skip to content

[RF] Remove some dead code#20699

Merged
guitargeek merged 2 commits intoroot-project:masterfrom
guitargeek:dead_code
Dec 17, 2025
Merged

[RF] Remove some dead code#20699
guitargeek merged 2 commits intoroot-project:masterfrom
guitargeek:dead_code

Conversation

@guitargeek
Copy link
Contributor

Remove some dead code from RooFit.

The `RooWorkspace::import()` method has a block of dead code, iterating
over a RooArgSet that is always empty.

The code is dead at lest since ROOT 5:

https://github.com/root-project/root/blob/v5-34-00-patches/roofit/roofitcore/src/RooWorkspace.cxx#L627
@github-actions
Copy link

Test Results

    21 files      21 suites   3d 19h 16m 11s ⏱️
 3 784 tests  3 784 ✅ 0 💤 0 ❌
77 535 runs  77 535 ✅ 0 💤 0 ❌

Results for commit 7a48645.

@dpiparo dpiparo self-requested a review December 17, 2025 08:11
Copy link
Member

@dpiparo dpiparo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@guitargeek guitargeek merged commit c25992c into root-project:master Dec 17, 2025
30 of 32 checks passed
@guitargeek guitargeek deleted the dead_code branch December 17, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants