summaryrefslogtreecommitdiff
path: root/apt-pkg/upgrade.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-04-08 13:03:05 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-06-30 18:57:49 +0200
commit769e9f3ea1cbe67d3b98e6db6c956abde2384868 (patch)
tree396d928a0a42c500d3ebc17550bde4c98b52b774 /apt-pkg/upgrade.cc
parentb8242321065c0f0e498ffcf6ba92675a19011dd4 (diff)
more explicit MarkRequired algorithm code
Piling everything in a single if statement always made my head wobble, but it hasn't even a benefit as the most common case of a package which isn't installed passes all of the old if and lands in the non-existent else-part of the inner if. So beside a subjective cleanup of what goes on this implementation should also be a bit faster. No change in behavior should be present. Gbp-Dch: Ignore
Diffstat (limited to 'apt-pkg/upgrade.cc')
0 files changed, 0 insertions, 0 deletions