summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2011-07-23 14:52:42 -0700
committerDaniel Burrows <dburrows@debian.org>2011-07-23 14:52:42 -0700
commitdf5823a596828cf4eacce90a3932f994959c7611 (patch)
tree8fcc9a5943c3e146eac5f81de858dbd08cfb914c /src
parenta4a9d17257679ba8a8233a453f4b6b007518e14d (diff)
downloadaptitude-df5823a596828cf4eacce90a3932f994959c7611.tar.gz
Fix an unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/gtk/dashboardtab.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk/dashboardtab.cc b/src/gtk/dashboardtab.cc
index 662c1c34..1bdfd208 100644
--- a/src/gtk/dashboardtab.cc
+++ b/src/gtk/dashboardtab.cc
@@ -1,6 +1,6 @@
// dashboardtab.cc
//
-// Copyright (C) 2008-2009 Obey Arthur Liu
+// Copyright (C) 2008-2009, 2011 Obey Arthur Liu
// Copyright (C) 2008 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
@@ -614,7 +614,7 @@ namespace gui
// TODO: if we ever allow full replacements in safe upgrade,
// this will be wrong; when that happens, we need to account
// for them and include them in the explanatory text below.
- if(pkg.get_pkg().CurrentVer() != sol.version_of(pkg).get_ver())
+ if(pkg.get_pkg().CurrentVer() != installed.get_ver())
++num_upgrades_selected;
}
}