1
0
Fork 0

[unused_result] Silly way to suppress warning

This commit is contained in:
Witold Filipczyk 2022-06-25 16:11:59 +02:00
parent 32afb683f2
commit 3d8605cb4f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ check_cwd(void)
char *home = getenv("HOME");
if (home && file_is_dir(home))
chdir(home);
(void)(!chdir(home));
}
mem_free_if(cwd);