diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-04-11 18:07:38 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-04-11 18:07:38 +0000 |
commit | 00dc93170dcc569166ae7eb7aa501fab439b5daa (patch) | |
tree | 0e90216602fa52c71172d4ccbdc9a63ad84841dc /src/file.h | |
parent | 360cec7946d8f1d408187d68aebcd68f3eec68a6 (diff) | |
download | file-git-00dc93170dcc569166ae7eb7aa501fab439b5daa.tar.gz |
fix unused warnings
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.230 2022/03/19 19:52:09 christos Exp $ + * @(#)$File: file.h,v 1.231 2022/04/11 18:07:38 christos Exp $ */ #ifndef __file_h__ @@ -497,6 +497,9 @@ struct magic_set { #if defined(HAVE_NEWLOCALE) && defined(HAVE_USELOCALE) && defined(HAVE_FREELOCALE) #define USE_C_LOCALE locale_t c_lc_ctype; +#define file_locale_used +#else +#define file_locale_used __attribute__((__unused__)) #endif }; |