summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index e3049fb05..45d8c81f1 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1941,7 +1941,7 @@ write_viminfo(file, forceit)
* root.
*/
if (fp_out != NULL)
- (void)fchown(fileno(fp_out), st_old.st_uid, st_old.st_gid);
+ ignored = fchown(fileno(fp_out), st_old.st_uid, st_old.st_gid);
#endif
}
}