1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

[Companion] clang / linux compilation fix

This commit is contained in:
Bertrand Songis 2017-01-20 07:38:46 +01:00
parent 28ccf7d8ee
commit 212838f12a

View file

@ -919,9 +919,9 @@ read_file_system_list (bool need_fs_type)
*mtail = NULL;
return mount_list;
#if !defined(__clang__)
free_then_fail:
#if defined(MOUNTED_GETMNTENT1) || defined(MOUNTED_GETMNTENT2) || defined(MOUNTED_GETMNT) || defined(MOUNTED_FREAD) || defined(MOUNTED_FREAD_FSTYP)
free_then_fail:
{
int saved_errno = errno;
*mtail = NULL;