diff options
Diffstat (limited to 'src/workshop.c')
-rw-r--r-- | src/workshop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/workshop.c b/src/workshop.c index 7d4e891f3..393e3d151 100644 --- a/src/workshop.c +++ b/src/workshop.c @@ -1826,7 +1826,7 @@ findYourself( else if (*argv0 == '.' || strchr(argv0, '/')) { runpath = (char *) malloc(MAXPATHLEN); - getcwd(runpath, MAXPATHLEN); + (void)getcwd(runpath, MAXPATHLEN); strcat(runpath, "/"); strcat(runpath, argv0); } |