util_hash.c: void return value

This commit is contained in:
Enno Boland 2016-06-17 17:00:39 +02:00
parent cb94ffe1c0
commit 30d1d0f607

View File

@ -124,7 +124,7 @@ xbps_file_hash_raw(const char *file)
while ((len = read(fd, buf, sizeof(buf))) > 0)
SHA256_Update(&sha256, buf, len);
SHA256_Final(digest, &sha256);
close(fd);
(void)close(fd);
if(len < 0)
return NULL;