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:
parent
32afb683f2
commit
3d8605cb4f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user