From c7f6f9f44a808f5d18a020219f08e5f201c7663d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 25 Nov 2010 16:23:49 +0100 Subject: [PATCH] xbps-bin: there's no need to init repository pool. --- bin/xbps-bin/main.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/xbps-bin/main.c b/bin/xbps-bin/main.c index 51b35a5e..c9e51e24 100644 --- a/bin/xbps-bin/main.c +++ b/bin/xbps-bin/main.c @@ -221,15 +221,6 @@ main(int argc, char **argv) } } - if ((rv = xbps_repository_pool_init()) != 0) { - if (rv != ENOENT) { - fprintf(stderr, - "E: couldn't initialize repository pool: %s\n", - strerror(rv)); - goto out; - } - } - if (strcasecmp(argv[0], "list") == 0) { /* Lists packages currently registered in database. */ if (argc < 1 || argc > 2)