# https://bugs.gentoo.org/911588 # https://github.com/gluster/glusterfs/issues/4192 # https://github.com/gluster/glusterfs/pull/4196 diff --git a/libglusterfs/src/glusterfs/mem-pool.h b/libglusterfs/src/glusterfs/mem-pool.h index 46f764f56e5..416b7ddf1e3 100644 --- a/libglusterfs/src/glusterfs/mem-pool.h +++ b/libglusterfs/src/glusterfs/mem-pool.h @@ -297,7 +297,7 @@ typedef struct per_thread_pool_list { * in the implementation code so we just make it a single-element array * here. */ - per_thread_pool_t pools[]; + per_thread_pool_t pools[1]; } per_thread_pool_list_t; /* actual pool structure, shared between different mem_pools */