Browse Source

Remove an unused variable.

r8659
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Matt Kraai 19 years ago
parent
commit
e531fbc679
  1. 2
      debian/changelog
  2. 2
      main-menu.c

2
debian/changelog

@ -5,6 +5,8 @@ main-menu (0.057) UNRELEASED; urgency=low
restore the previous value after executing package script.
As soon as this package is uploaded, cdebconf-udeb can set
debconf/showold to false by default to fix #229648.
* Matt Kraai
- Remove an unused variable.
* Eugen Meshcheryakov : added Ukrainian translation (uk.po)
-- Christian Perrier <bubulle@debian.org> Sun, 8 Feb 2004 20:26:39 +0100

2
main-menu.c

@ -98,7 +98,6 @@ get_default_menu_item(di_slist *list)
{
di_system_package *p;
di_slist_node *node;
int cont;
/* Traverse the list, return the first menu item that isn't installed */
for (node = list->head; node != NULL; node = node->next) {
@ -110,7 +109,6 @@ get_default_menu_item(di_slist *list)
/* If menutest says this item should be default, make it so */
if (!isdefault(p))
continue;
cont = 0;
/* Do not default to a package that provides a virtual
package that is provided by a package that is
already installed. */

Loading…
Cancel
Save