updated for version 7.2-055
diff --git a/src/fileio.c b/src/fileio.c
index a28bcd9..c0dd78d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2214,7 +2214,7 @@
{
/* Use stderr for stdin, makes shell commands work. */
close(0);
- dup(2);
+ ignored = dup(2);
}
#endif
@@ -3449,7 +3449,7 @@
{
# ifdef UNIX
# ifdef HAVE_FCHOWN
- fchown(fd, st_old.st_uid, st_old.st_gid);
+ ignored = fchown(fd, st_old.st_uid, st_old.st_gid);
# endif
if (mch_stat((char *)IObuff, &st) < 0
|| st.st_uid != st_old.st_uid
@@ -4365,7 +4365,7 @@
|| st.st_uid != st_old.st_uid
|| st.st_gid != st_old.st_gid)
{
- fchown(fd, st_old.st_uid, st_old.st_gid);
+ ignored = fchown(fd, st_old.st_uid, st_old.st_gid);
if (perm >= 0) /* set permission again, may have changed */
(void)mch_setperm(wfname, perm);
}
@@ -6030,9 +6030,9 @@
{
tbuf[FGETS_SIZE - 2] = NUL;
#ifdef USE_CR
- fgets_cr((char *)tbuf, FGETS_SIZE, fp);
+ ignoredp = fgets_cr((char *)tbuf, FGETS_SIZE, fp);
#else
- fgets((char *)tbuf, FGETS_SIZE, fp);
+ ignoredp = fgets((char *)tbuf, FGETS_SIZE, fp);
#endif
} while (tbuf[FGETS_SIZE - 2] != NUL && tbuf[FGETS_SIZE - 2] != '\n');
}