Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove useless code
Baptiste Daroussin committed 11 years ago
commit 16e6c5a1713a1a47b8455a6a5354212b89210368
parent 4dc80f6
1 file changed +0 -2
modified libpkg/utils.c
@@ -476,11 +476,9 @@ string_end_with(const char *path, const char *str)
bool
check_for_hardlink(hardlinks_t *hl, struct stat *st)
{
-
	khint_t k;
	int absent;

	kh_put_hardlinks(hl, st->st_ino, &absent);
-
	k = kh_get_hardlinks(hl, st->st_ino);
	if (absent == 0)
		return (true);