mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 19:03:48 +01:00
Now that we break the loop on fstat(2) failure we no longer need to satisfy
gcc's imperfections. MFC after: 1 week
This commit is contained in:
parent
207ee3cdea
commit
e84a29b629
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218376
@ -183,8 +183,6 @@ descriptors_assert(const struct hast_resource *res, int pjdlogmode)
|
||||
isopen = false;
|
||||
mode = 0;
|
||||
} else {
|
||||
isopen = true; /* silence gcc */
|
||||
mode = 0; /* silence gcc */
|
||||
(void)snprintf(msg, sizeof(msg),
|
||||
"Unable to fstat descriptor %d: %s", fd,
|
||||
strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user