diff options
author | Daniel Burrows <dburrows@debian.org> | 2011-07-23 15:54:31 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2011-07-23 15:54:31 -0700 |
commit | 4880ada78f27cc6d951876ecfe2e2200b805a29f (patch) | |
tree | 95ce57cfd481440af0975047641ae70e91628d07 /tests | |
parent | 942616a01dfdebe8e040ce459f07d7527220ed9b (diff) | |
download | aptitude-4880ada78f27cc6d951876ecfe2e2200b805a29f.tar.gz |
Eliminate an unused variable.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_resolver_costs.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_resolver_costs.cc b/tests/test_resolver_costs.cc index 089042ec..ed87f87d 100644 --- a/tests/test_resolver_costs.cc +++ b/tests/test_resolver_costs.cc @@ -1,6 +1,6 @@ // test_resolver_costs.cc // -// Copyright (C) 2010 Daniel Burrows +// Copyright (C) 2010-2011 Daniel Burrows // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -220,8 +220,9 @@ public: aptitude_resolver_cost_settings::component removals_component = settings.get_or_create_component("removals", aptitude_resolver_cost_settings::maximized), cancels_component = settings.get_or_create_component("cancels", aptitude_resolver_cost_settings::maximized), - aardvarks_component = settings.get_or_create_component("aardvarks", aptitude_resolver_cost_settings::maximized), - nonexistent_component = settings.get_or_create_component("llamas", aptitude_resolver_cost_settings::maximized); + aardvarks_component = settings.get_or_create_component("aardvarks", aptitude_resolver_cost_settings::maximized); + + settings.get_or_create_component("llamas", aptitude_resolver_cost_settings::maximized); CPPUNIT_ASSERT_THROW(settings.get_or_create_component("removals", aptitude_resolver_cost_settings::additive), CostTypeCheckFailure); |