From 777d395feaa082a69e32d985bbc1cca3d3dad077 Mon Sep 17 00:00:00 2001 From: Avra Sengupta Date: Wed, 21 Nov 2012 14:07:05 +0530 Subject: core: fixes for gcc's '-pedantic' flag build * warnings on 'void *' arguments * warnings on empty initializations * warnings on empty array (array[0]) Change-Id: Iae440f54cbd59580eb69f3ecaed5a9926c0edf95 BUG: 875913 Signed-off-by: Avra Sengupta Reviewed-on: http://review.gluster.org/4219 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- api/src/glfs-master.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'api') diff --git a/api/src/glfs-master.c b/api/src/glfs-master.c index 0806c307..e6c46e36 100644 --- a/api/src/glfs-master.c +++ b/api/src/glfs-master.c @@ -101,13 +101,10 @@ fini (xlator_t *this) } -struct xlator_dumpops dumpops = { -}; +struct xlator_dumpops dumpops; -struct xlator_fops fops = { -}; +struct xlator_fops fops; -struct xlator_cbks cbks = { -}; +struct xlator_cbks cbks; -- cgit