bareos: master c0d99c86

Author Committer Branch Timestamp Parent
Sebastian Sura Sebastian Sura master 2024-03-04 10:10 master 812e0b0e Pending
Changeset reserve: remove impossible if condition

Since SetupinewDcrDevice accesses dcr, dcr can never be null after
if (rct.store->append) { ... }, so the if would have never fired.

Since the branches of the if are basically the same, the
SetupNewDcrDevice was extracted out of them.
mod - core/src/stored/reserve.cc Diff File