1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

core: remove compilation warnings about unused return values of functions

This commit is contained in:
Sebastien Helleu
2011-09-22 16:16:41 +02:00
parent 0602bc105b
commit 893485ba5f
5 changed files with 51 additions and 21 deletions
+2 -1
View File
@@ -314,7 +314,8 @@ plugin_api_info_get_internal (void *data, const char *info_name,
{
if (!weechat_dir_absolute_path[0])
{
realpath (weechat_home, weechat_dir_absolute_path);
if (!realpath (weechat_home, weechat_dir_absolute_path))
return NULL;
}
return (weechat_dir_absolute_path[0]) ?
weechat_dir_absolute_path : weechat_home;