Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
src/version.c: remove the TODO comment
rilysh committed 2 years ago
commit fd6788284787ef0529b3f680651b210560936a61
parent cddef0b
1 file changed +1 -3
modified src/version.c
@@ -80,7 +80,7 @@ static void
print_version(struct pkg *pkg, const char *source, const char *ver,
	      char limchar, unsigned int opt)
{
-
	char	        key;
+
	char		 key;
	const char	*version = NULL;
	int		 cout;

@@ -380,8 +380,6 @@ have_indexfile(const char **indexfile, char *filebuf, size_t filebuflen,
	else
		*indexfile = argv[0];

-
	/* TODO: Handle error with errno, as stat() failure can
-
	   indicate other issues too. */
	if (stat(*indexfile, &sb) == -1) {
		if (errno == ENOENT)
			have_indexfile = false;