1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[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

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);