[Aptitude-svn-commit] r3266 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Fri, 06 May 2005 01:57:59 +0000


Author: dburrows
Date: Fri May  6 01:57:56 2005
New Revision: 3266

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/main.cc
Log:
Fix compilation.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Fri May  6 01:57:56 2005
@@ -2,6 +2,10 @@
 
 	* src/main.cc:
 
+	Make it compile without them.
+
+	* src/main.cc:
+
 	Remove the utf8 guards in main.
 
 	* configure.ac, src/vscreen/curses++.h:

Modified: branches/aptitude-0.3/aptitude/src/main.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/main.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/main.cc	Fri May  6 01:57:56 2005
@@ -195,9 +195,6 @@
   //      rocker.
   argv0=argv[0];
 
-  // This will be used to hold current locale.
-  char *locale;
-
   // Read the arguments:
   while((curopt=getopt_long(argc, argv, "DVZvhS:uiF:w:sO:fdyPt:Rro:", opts, NULL))!=-1)
     {