Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove unused mutex
Baptiste Daroussin committed 13 years ago
commit e1ad83697effb9214af0cf9fff7c038d7484c2b1
parent 473574b
1 file changed +0 -3
modified libpkg/pkg_config.c
@@ -50,7 +50,6 @@

#define ABI_VAR_STRING "${ABI}"

-
pthread_mutex_t mirror_mtx;
int eventpipe = -1;

struct config_entry {
@@ -872,8 +871,6 @@ pkg_init(const char *path)
		return (EPKG_FATAL);
	}

-
	pthread_mutex_init(&mirror_mtx, NULL);
-

	for (i = 0; i < c_size; i++) {
		conf = malloc(sizeof(struct pkg_config));
		conf->id = i;