The following commit has been merged in the master branch:
commit 537d0870881347865492b16898c0b366ff05add6
Author: Guillem Jover <[email protected]>
Date: Wed Oct 14 05:18:23 2009 +0200
dpkg: Remove unused head variable in getselections()
diff --git a/src/select.c b/src/select.c
index dd91c41..5371d4b 100644
--- a/src/select.c
+++ b/src/select.c
@@ -49,15 +49,13 @@ void getselections(const char *const *argv) {
struct pkg_array array;
struct pkginfo *pkg;
const char *thisarg;
- int i, head, found;
+ int i, found;
modstatdb_init(admindir,msdbrw_readonly);
pkg_array_init_from_db(&array);
pkg_array_sort(&array, pkg_sorter_by_name);
- head=0;
-
if (!*argv) {
for (i = 0; i < array.n_pkgs; i++) {
pkg = array.pkgs[i];
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]