Re: [PATCH] fix warnings



On Wed, 12 Dec 2012 00:40:32 +0100 (CET) Mikulas Patocka wrote:
> This patch fixes compile warnings
> 
> * src/filemanager/filegui.c defines macro STATFS but it doesn't use it, it 
> uses statfs function instead.
> This results in a warning because statfs has this prototype
> "int statfs(const char *path, struct statfs *buf);", but we pass "struct 
> statvfs" as an argument.

This is already fixed in master as part of https://www.midnight-commander.org/ticket/2906.

> * ESC_CHAR is already defined in /usr/include/langinfo.h, so undefined it 
> to avoid warning

Thanks! This is applied in temporary branch and will be merged to master soon.

-- 
Andrew


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]