Fix warnings (some bugs, some spurious)

Many spurious VC warnings not quieted though.
This commit is contained in:
Nicolas Williams
2020-03-12 00:42:33 -05:00
parent f3e6c4ffd4
commit 64d5f86ec3
20 changed files with 38 additions and 36 deletions

View File

@@ -319,8 +319,8 @@ roken_get_loginname(char *user, size_t usersz)
if (errno != ENOENT)
return NULL;
#endif
#endif
#endif
errno = 0;
return NULL;
#endif
}