summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik/util.c')
-rw-r--r--Build/source/texk/xdvik/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/util.c b/Build/source/texk/xdvik/util.c
index adf6c3cd839..323f271e1b5 100644
--- a/Build/source/texk/xdvik/util.c
+++ b/Build/source/texk/xdvik/util.c
@@ -581,7 +581,7 @@ my_realpath(const char *path, char *resolved)
(void)fchdir(fd);
close(fd);
#else
- chdir(cwd);
+ (void)chdir(cwd);
#endif
return resolved;
}
@@ -591,7 +591,7 @@ my_realpath(const char *path, char *resolved)
(void)fchdir(fd);
close(fd);
#else
- chdir(cwd);
+ (void)chdir(cwd);
#endif
return NULL;
}
@@ -1466,7 +1466,7 @@ find_file(const char *filename, struct stat *statbuf, kpse_file_format_type path
(void)fchdir(fd);
close(fd);
#else
- chdir(cwd);
+ (void)chdir(cwd);
#endif
if (tmp[0] == '/') { /* is it an absolute path? */
pathname = xstrdup(tmp);