[evolution-exchange] Workaround compiler warnings on unused variables
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Workaround compiler warnings on unused variables
- Date: Fri, 7 Oct 2011 13:46:31 +0000 (UTC)
commit 58713f4c795352f66c7ff83d7c3dff0a49aa2faf
Author: Milan Crha <mcrha redhat com>
Date: Fri Oct 7 15:45:53 2011 +0200
Workaround compiler warnings on unused variables
server/lib/e2k-autoconfig.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/server/lib/e2k-autoconfig.c b/server/lib/e2k-autoconfig.c
index 722b334..7bc6663 100644
--- a/server/lib/e2k-autoconfig.c
+++ b/server/lib/e2k-autoconfig.c
@@ -854,6 +854,13 @@ find_global_catalog (E2kAutoconfig *ac)
/* FIXME: obey priority and weight */
ac->gc_server = g_strdup ((gchar *) namebuf);
ac->gc_server_autodetected = TRUE;
+
+ /* workaround compiler warnings on unused variables */
+ ttl++;
+ port++;
+ weight++;
+ priority++;
+
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]