commit 535da0c893d8af729413fbb956b6da91eeb73d79 parent 055827d7cff3c1a5223e527802dd3120ac83b6a2 Author: cfillion <cfillion@users.noreply.github.com> Date: Fri, 6 May 2016 00:33:34 -0400 remove useless condition Diffstat:
M | src/reapack.cpp | | | 8 | +++----- |
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp @@ -315,11 +315,9 @@ void ReaPack::about(const Remote &remote, HWND parent) enable(remote); - if(m_tx) { // transaction is created by enable() - InstallOpts opts = *m_config->install(); - opts.autoInstall = true; - tx->synchronize(remote, opts); - } + InstallOpts opts = *m_config->install(); + opts.autoInstall = true; + tx->synchronize(remote, opts); tx->runTasks(); }