From e7a448fd8e4fb4d8c9a5017b490a8845a356fc11 Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Thu, 11 Dec 2014 14:19:17 +0200 Subject: [PATCH] Fix #275: Redundant "const" breaks build with clang Verified with GCC 4.8.3 on Fedora 20 that removing the const does not modify the generated code. --- src/core/sipe-ews-autodiscover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sipe-ews-autodiscover.c b/src/core/sipe-ews-autodiscover.c index 29345f18..5180b23f 100644 --- a/src/core/sipe-ews-autodiscover.c +++ b/src/core/sipe-ews-autodiscover.c @@ -310,7 +310,7 @@ static void sipe_ews_autodiscover_request(struct sipe_core_private *sipe_private gboolean next_method) { struct sipe_ews_autodiscover *sea = sipe_private->ews_autodiscover; - static const struct autodiscover_method const methods[] = { + static const struct autodiscover_method methods[] = { { "https://Autodiscover.%s/Autodiscover/Autodiscover.xml", FALSE }, { "http://Autodiscover.%s/Autodiscover/Autodiscover.xml", TRUE }, { "http://Autodiscover.%s/Autodiscover/Autodiscover.xml", FALSE }, -- 2.11.4.GIT