summaryrefslogtreecommitdiff
path: root/methods/store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/store.cc')
-rw-r--r--methods/store.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/methods/store.cc b/methods/store.cc
index 2ad0f0177..934e1a188 100644
--- a/methods/store.cc
+++ b/methods/store.cc
@@ -14,7 +14,6 @@
#include <config.h>
#include <apt-pkg/configuration.h>
-#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/hashes.h>
@@ -152,8 +151,5 @@ bool StoreMethod::Fetch(FetchItem *Itm) /*{{{*/
int main(int, char *argv[])
{
- setlocale(LC_ALL, "");
-
- StoreMethod Mth(flNotDir(argv[0]));
- return Mth.Run();
+ return StoreMethod(flNotDir(argv[0])).Run();
}