mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -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");
|
char *home = getenv("HOME");
|
||||||
|
|
||||||
if (home && file_is_dir(home))
|
if (home && file_is_dir(home))
|
||||||
chdir(home);
|
(void)(!chdir(home));
|
||||||
}
|
}
|
||||||
|
|
||||||
mem_free_if(cwd);
|
mem_free_if(cwd);
|
||||||
|
Loading…
Reference in New Issue
Block a user