diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2020-05-19 16:06:43 +0300 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-06-09 01:32:48 +0000 |
commit | a15640a5c7b423683ca26d0012461265d643bd84 (patch) | |
tree | 593058524e0fb474382bfdc1a109e6b7bc3a3cf5 /libglusterfs/src | |
parent | dbd74e0b8d710956f5224dfd420b7e9ff4bb165b (diff) |
libglusterfs: drop useless 'const' on function return type
Using 'const' qualifier on function return type makes no effect in
ISO C, as reported with -Wignored-qualifiers of gcc-10 and clang-10.
Change-Id: I83de7ab4c8255284683bb462cd9f584ebf0f983b
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Fixes: #1249
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/glusterfs/glusterfs-acl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs/glusterfs-acl.h b/libglusterfs/src/glusterfs/glusterfs-acl.h index cae55e8062f..987bf5fab0b 100644 --- a/libglusterfs/src/glusterfs/glusterfs-acl.h +++ b/libglusterfs/src/glusterfs/glusterfs-acl.h @@ -143,7 +143,7 @@ gf_posix_acl_get_key(const acl_type_t type) return acl_key; } -static inline const acl_type_t +static inline acl_type_t gf_posix_acl_get_type(const char *key) { acl_type_t type = 0; |