aboutsummaryrefslogtreecommitdiff
path: root/src/tar.c
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-04-26 09:42:38 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-04-26 09:42:38 +0200
commit14e8bfdc0a83a1256f2efc92868ead7dbd26bc51 (patch)
treed8d63951d87f9cbb3df90e687e3537c5c82237b4 /src/tar.c
parent62308a879f0bfe6e714ad2fd1abbe004a6a3c095 (diff)
downloadpolecat-14e8bfdc0a83a1256f2efc92868ead7dbd26bc51.tar.gz
polecat-14e8bfdc0a83a1256f2efc92868ead7dbd26bc51.zip
rid some warnings
put brackets around flag logic ignore chdir return use memmove for putting quotes around the dxvk path
Diffstat (limited to 'src/tar.c')
-rw-r--r--src/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tar.c b/src/tar.c
index 0daf657..d11728b 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -108,5 +108,5 @@ void extract(const struct MemoryStruct* tar, const char* outputdir)
archive_write_close(ext);
archive_write_free(ext);
- if (err) chdir(cwd);
+ if (err) (void)chdir(cwd);
}