Commit Diff
--- lib/repository_admin.c +++ lib/repository_admin.c @@ -1273,8 +1273,7 @@ purge_redundant_pack(struct got_repository *repo, cons char *dot, path[PATH_MAX]; size_t i; - if (strlcpy(path, packidx_path, sizeof(path)) >= - sizeof(path)) + if (strlcpy(path, packidx_path, sizeof(path)) >= sizeof(path)) return got_error(GOT_ERR_NO_SPACE); /*