The following commit has been merged in the master branch:
commit 17629f3ce95e4fb7d71780e521a9d982f2b3c787
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Feb 11 21:02:32 2012 +0100

    dselect: Remove unused readwrite variable
    
    Missed in commit 127ffc452f3d438be51f368c33ce3983874029ec.

diff --git a/dselect/main.cc b/dselect/main.cc
index 64656f3..39a9c37 100644
--- a/dselect/main.cc
+++ b/dselect/main.cc
@@ -4,6 +4,7 @@
  *
  * Copyright © 1994-1996 Ian Jackson <i...@chiark.greenend.org.uk>
  * Copyright © 2000,2001 Wichert Akkerman <wakke...@debian.org>
+ * Copyright © 2006-2012 Guillem Jover <guil...@debian.org>
  *
  * This is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -62,7 +63,6 @@
 
 static const char printforhelp[] = N_("Type dselect --help for help.");
 
-modstatdb_rw readwrite;
 int expertmode= 0;
 
 static const char *admindir = ADMINDIR;
@@ -360,8 +360,8 @@ extern void operator delete(void *p) {
 urqresult urq_list(void) {
   struct dpkg_arch *arch;
 
-  readwrite = modstatdb_open((modstatdb_rw)(msdbrw_writeifposs |
-                                            msdbrw_available_readonly));
+  modstatdb_open((modstatdb_rw)(msdbrw_writeifposs |
+                                msdbrw_available_readonly));
 
   // XXX: Multi-Arch is not supported, bail out.
   for (arch = dpkg_arch_get_list(); arch; arch = arch->next)

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to